diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-25 16:14:49 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-25 16:55:03 -0400 |
commit | aedbebb0ea3c7b40dda987b43ff21475ef67f423 (patch) | |
tree | c4b69c21902ca5e4ecba3227014c53abe172ff4d /src/lib/libremessages.1.ronn | |
parent | 01d4cfea634d1c1c5f0ab3c040ce12b39c165054 (diff) |
messages: define EXIT_* codes
Diffstat (limited to 'src/lib/libremessages.1.ronn')
-rw-r--r-- | src/lib/libremessages.1.ronn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/libremessages.1.ronn b/src/lib/libremessages.1.ronn index 23e0e18..538a9b4 100644 --- a/src/lib/libremessages.1.ronn +++ b/src/lib/libremessages.1.ronn @@ -38,6 +38,16 @@ error is not a terminal (see `isatty`(3)), they are set, but empty. They are marked as readonly, so it is an error to try to set them afterwards. +The following variables for numeric exit codes are set: a basic +`EXIT_TRUE=0` and `EXIT_FALSE=1`, and well as several based on +the [LSB recommendations for SysV init scripts][1]: `EXIT_SUCCESS`, +`EXIT FAILURE`, `EXIT_INVALIDARGUMENT`, `EXIT_NOTIMPLEMENTED`, +`EXIT_NOPERMISSION`, `EXIT_NOTINSTALLED`, and `EXIT_NOTCONFIGURED`. +They are marked as readonly, so it is an error to try to set them +afterwards. + +[1]: http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html + ### MESSAGE FORMAT All routines feed the message/format string through `gettext`(1), if |