Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 1996 04:44:52 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@FreeBSD.org, j@uriah.heep.sax.de
Subject:   Re: sysexits.h. which EX_ to use
Message-ID:  <199601281744.EAA18411@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>MHO:	EX_IOERR for read/write/fclose
>	EX_OSERR for fstat  (stat'ing should always be possible if the
>	                     file exists)

stat() usually fails because the file doesn't exist.  This is likely to
be a config error, not an "OS" error.  You have to look at the errno if
you want to be accurate.

Bruce



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