summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1999-08-01 20:47:18 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1999-08-01 20:47:18 +0000
commit802824c6be47d30ad12074113eaac64591ff0885 (patch)
tree30c0355803ab93cd560e41f3afe6a671a5a8f343 /lib/libc/stdlib
parent97f07da79fd73ac92e81b0bc399473fb19f427a5 (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/exit.39
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/stdlib/exit.3 b/lib/libc/stdlib/exit.3
index de9127659ea2..6f6465e5ff67 100644
--- a/lib/libc/stdlib/exit.3
+++ b/lib/libc/stdlib/exit.3
@@ -34,6 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)exit.3 8.1 (Berkeley) 6/4/93
+.\" $Id$
.\"
.Dd June 4, 1993
.Dt EXIT 3
@@ -68,7 +69,13 @@ function.
.Pp
Passing arbitrary values back to the environment as
.Ar status
-is considered bad style. Instead, use the values as described in
+is considered bad style;
+you should use the values
+.Dv EXIT_SUCCESS
+and
+.Dv EXIT_FAILURE .
+If portability is not a concern, you may
+use the values described in
.Xr sysexits 3 .
.Sh RETURN VALUES
The