Bruce Evans <[EMAIL PROTECTED]> writes:
> Robert Watson <[EMAIL PROTECTED]> 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 §7.20.4.3:

  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.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to