diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-01 18:41:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-01 18:41:28 +0000 |
commit | cdce8cb7db2f233f081a61f999214942ae9324c8 (patch) | |
tree | 626bf5cff4535416b6e35d996512f13d5b1beaff /share/man | |
parent | e22ba06ed3e986b7948bf79cbb32c026298477be (diff) |
recommending sysexits.h has been ridiculous from the start
Diffstat (limited to 'share/man')
-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 |