mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
Mention that EXIT_SUCCESS and EXIT_FAILURE are preferred over
sysexits.h-values as exit codes for portable programs.
This commit is contained in:
parent
8604fe2e70
commit
cc5aedfb1a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49358
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user