summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-03-31 22:31:51 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-03-31 22:31:51 +0000
commit4567abc2faa4f868fd9ca8993093e65bbdb46c44 (patch)
tree6a37741416371b4b16b214c91d75893ff15df139
parenta5e0fef0f305724f173cdc1eadc95b667b0c0c1c (diff)
Notes
-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 43ee3c04a795..8beca7c6fae8 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