|
BashSpark
|
Defines status codes for the shell. More...
#include <cinttypes>#include <iostream>

Go to the source code of this file.
Namespaces | |
| namespace | bs |
| BashSpark main namespace. | |
Functions | |
| constexpr shell_status | bs::make_user_code (const unsigned int nCode) |
| Generates status codes for user use from user codes. | |
| constexpr bool | bs::is_syntax_error (const shell_status nStatus) |
Variables | |
| constexpr std::size_t | bs::SHELL_MAX_DEPTH = 16 |
| Maximum depth allowed for shell. | |
Defines status codes for the shell.
This header file contains constants that represent various shell status codes. These codes indicate the result of executing commands or operations within the shell.
This file is part of BashSpark. Copyright (C) 2025 Dante Doménech Martínez
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.