svn commit: r184509 - head/share/man/man9

Dag-Erling Smørgrav des at
Mon Nov 3 05:15:42 PST 2008

Bruce Evans <brde at> writes:
> Robert Watson <rwatson at> writes:
> > In style(9) examples of err() and errx(), use sysexits(3) errors
> > rather than returning 1.
> style(9) was correct.  Using sysexits(3) is a style bug in most cases
> [...]

I agree.  If we must use symbolic names, I suggest we just follow the
standard, cf. ISO/IEC 9899:1999 §

  If the value of status is zero or EXIT_SUCCESS, an implementation-
  defined form of the status successful termination is returned. If the
  value of status is EXIT_FAILURE, an implementation-defined form of the
  status unsuccessful termination is returned. Otherwise the status
  returned is implementation-defined.

Note that our <stdlib.h> defines EXIT_FAILURE to 1.

Dag-Erling Smørgrav - des at

More information about the svn-src-all mailing list