diff options
author | 2002-04-01 18:41:27 +0000 | |
---|---|---|
committer | 2002-04-01 18:41:27 +0000 | |
commit | a82287868cdbaab64fb518846f162da3a0257192 (patch) | |
tree | 5e591d72a778d66a1a47d2267febb9c2937dd5f3 | |
parent | remove a redundant word remove (diff) | |
download | wireguard-openbsd-a82287868cdbaab64fb518846f162da3a0257192.tar.xz wireguard-openbsd-a82287868cdbaab64fb518846f162da3a0257192.zip |
recommending sysexits.h has been ridiculous from the start
-rw-r--r-- | share/man/man9/style.9 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 1bc0eff808c..ce3be5016bd 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: style.9,v 1.24 2002/02/17 19:58:32 millert Exp $ +.\" $OpenBSD: style.9,v 1.25 2002/04/01 18:41:27 deraadt Exp $ .\" .Dd June 18, 2001 .Dt STYLE 9 @@ -388,11 +388,9 @@ Do YOU understand the following? k = !(l & FLAGS); .Ed .Pp -Exits should be 0 on success, or according to the predefined -values in -.Xr sysexits 3 . +Exits should be 0 on success, or non-zero for errors. .Bd -literal -offset 0i - exit(EX_OK); /* + exit(0); /* * Avoid obvious comments such as * "Exit 0 on success." */ @@ -627,8 +625,7 @@ or lclint from the ports tree) and produce minimal warnings. .Sh SEE ALSO .Xr indent 1 , .Xr err 3 , -.Xr queue 3 , -.Xr sysexits 3 , +.Xr queue 3 .Xr warn 3 .Sh HISTORY This man page is largely based on the src/admin/style/style file from |