summaryrefslogtreecommitdiff
path: root/src/lib/libremessages.1.ronn
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libremessages.1.ronn')
-rw-r--r--src/lib/libremessages.1.ronn10
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