![]() |
Open Lighting Architecture 0.10.9
|
Exit codes.
Some platforms (android) don't provide sysexits.h. To work around this we define our own exit codes, which use the system values if provided or otherwise our default values.
Files | |
file | SysExits.cpp |
file | SysExits.h |
Variables | |
const int | ola::EXIT_OK = EX_OK |
successful termination | |
const int | ola::EXIT__BASE = EX__BASE |
base value for error messages | |
const int | ola::EXIT_USAGE = EX_USAGE |
command line usage error | |
const int | ola::EXIT_DATAERR = EX_DATAERR |
data format error | |
const int | ola::EXIT_NOINPUT = EX_NOINPUT |
cannot open input | |
const int | ola::EXIT_NOUSER = EX_NOUSER |
addresses unknown | |
const int | ola::EXIT_NOHOST = EX_NOHOST |
host name unknown | |
const int | ola::EXIT_UNAVAILABLE = EX_UNAVAILABLE |
service unavailable | |
const int | ola::EXIT_SOFTWARE = EX_SOFTWARE |
internal software error | |
const int | ola::EXIT_OSERR = EX_OSERR |
system error (e.g can't fork) | |
const int | ola::EXIT_OSFILE = EX_OSFILE |
critical OS file missing | |
const int | ola::EXIT_CANTCREAT = EX_CANTCREAT |
can't create (user) output file | |
const int | ola::EXIT_IOERR = EX_IOERR |
input/output error | |
const int | ola::EXIT_TEMPFAIL = EX_TEMPFAIL |
temp failure; user can rety | |
const int | ola::EXIT_PROTOCOL = EX_PROTOCOL |
remote error in protocol | |
const int | ola::EXIT_NOPERM = EX_NOPERM |
permission denied | |
const int | ola::EXIT_CONFIG = EX_CONFIG |
configuration error | |
const int | ola::EXIT__MAX = EX__MAX |
maximum listed value | |