Mention that EXIT_SUCCESS and EXIT_FAILURE are preferred over

sysexits.h-values as exit codes for portable programs.
This commit is contained in:
Tim Vanderhoek 1999-08-01 20:46:45 +00:00
parent 8604fe2e70
commit cc5aedfb1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49358

View File

@ -69,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