summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-03-31 22:31:51 +0000
committerjoerg <joerg@FreeBSD.org>1996-03-31 22:31:51 +0000
commitf55ef7e508b33f503d7540954646e771c299b0b3 (patch)
tree6a37741416371b4b16b214c91d75893ff15df139 /lib
parent29db05221029f6e05ef996fe977bd037d3820d3a (diff)
downloadFreeBSD-src-f55ef7e508b33f503d7540954646e771c299b0b3.zip
FreeBSD-src-f55ef7e508b33f503d7540954646e771c299b0b3.tar.gz
Xref sysexits(3).
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/exit.38
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/stdlib/exit.3 b/lib/libc/stdlib/exit.3
index 43ee3c0..8beca7c 100644
--- a/lib/libc/stdlib/exit.3
+++ b/lib/libc/stdlib/exit.3
@@ -65,6 +65,11 @@ Unlink all files created with the
.Xr tmpfile 3
function.
.El
+.Pp
+Passing arbitrary values back to the environment as
+.Ar status
+is considered bad style. Instead, use the values as described in
+.Xr sysexits 3 .
.Sh RETURN VALUES
The
.Fn exit
@@ -74,7 +79,8 @@ never returns.
.Xr _exit 2 ,
.Xr atexit 3 ,
.Xr intro 3 ,
-.Xr tmpfile 3
+.Xr tmpfile 3 ,
+.Xr sysexits 3
.Sh STANDARDS
The
.Fn exit
OpenPOWER on IntegriCloud