Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2000 01:31:40 -0400
From:      Bill Fumerola <billf@chimesnet.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Sheldon Hearn <sheldonh@uunet.co.za>, arch@FreeBSD.ORG
Subject:   Re: truncate(1) implementation details
Message-ID:  <20000704013140.F4034@jade.chc-chimes.com>
In-Reply-To: <Pine.BSF.4.21.0007041514250.15653-100000@besplex.bde.org>; from bde@zeta.org.au on Tue, Jul 04, 2000 at 03:16:37PM %2B1000
References:  <904.962613305@axl.ops.uunet.co.za> <Pine.BSF.4.21.0007041514250.15653-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 04, 2000 at 03:16:37PM +1000, Bruce Evans wrote:

> > >         Use EXIT_SUCCESS and EXIT_FAILURE for exit() and EX_* for
> > >         errx().
> > 
> > yes :)
> 
> No.  Use EXIT_* for errx() too.  Magic error exit codes are especially
> useless when a human-readable error message is printed.

Just to butt into this conversation...

I know this from my dealings with the Teachings of Bruce, but style(9)
dictates that exit() use the sysexits(3) when appropriate.

I can see where people could be confused.

-- 
Bill Fumerola - Network Architect / Computer Horizons Corp - CHIMES
e-mail: billf@chimesnet.com / billf@FreeBSD.org





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000704013140.F4034>