Revert r184509: don't encourage the use of sysexits.h with err() and

errx(),, as there seems to be a general preference against this
practice.

Suggested by:	bde, des, jhb
This commit is contained in:
Robert Watson 2008-11-27 08:42:58 +00:00
parent 5c423e0640
commit 3c8d4fc09b

View file

@ -716,9 +716,9 @@ or
do not roll your own.
.Bd -literal
if ((four = malloc(sizeof(struct foo))) == NULL)
err(EX_OSERR, NULL);
err(1, (char *)NULL);
if ((six = (int *)overflow()) == NULL)
errx(EX_DATAERR, "number overflowed");
errx(1, "number overflowed");
return (eight);
}
.Ed