diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-28 19:37:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-28 19:37:04 +0100 |
commit | f8f7c83cb8df30accb772ae1a4ea3fc62606a5cc (patch) | |
tree | 2a1c4e0f9d25299a21dc912faaf3c83663ed7908 /src/include/platform.h | |
parent | 2b115add47166ad1dc9641ec2f3ed1730bf0fc7a (diff) | |
download | exchange-f8f7c83cb8df30accb772ae1a4ea3fc62606a5cc.tar.xz |
fix #8030
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index f27ee38b7..db04cb972 100644 --- a/src/include/platform.h +++ b/src/include/platform.h @@ -231,22 +231,42 @@ atoll (const char *nptr); /* LSB-style exit status codes */ #ifndef EXIT_INVALIDARGUMENT +/** + * Command-line arguments are invalid. + * Restarting useless. + */ #define EXIT_INVALIDARGUMENT 2 #endif #ifndef EXIT_NOTIMPLEMENTED +/** + * The requested operation is not implemented. + * Restarting useless. + */ #define EXIT_NOTIMPLEMENTED 3 #endif #ifndef EXIT_NOPERMISSION +/** + * Permissions needed to run are not available. + * Restarting useless. + */ #define EXIT_NOPERMISSION 4 #endif #ifndef EXIT_NOTINSTALLED +/** + * Key resources are not installed. + * Restarting useless. + */ #define EXIT_NOTINSTALLED 5 #endif #ifndef EXIT_NOTCONFIGURED +/** + * Key configuration settings are missing or invalid. + * Restarting useless. + */ #define EXIT_NOTCONFIGURED 6 #endif @@ -254,7 +274,12 @@ atoll (const char *nptr); #define EXIT_NOTRUNNING 7 #endif + #ifndef EXIT_NO_RESTART +/** + * Exit code from 'main' if we do not want to be restarted, + * except by manual intervention (hard failure). + */ #define EXIT_NO_RESTART 9 #endif |