From owner-freebsd-hackers Sun Jan 28 09:47:31 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA23470 for hackers-outgoing; Sun, 28 Jan 1996 09:47:31 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA23464 for ; Sun, 28 Jan 1996 09:47:28 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id EAA18411; Mon, 29 Jan 1996 04:44:52 +1100 Date: Mon, 29 Jan 1996 04:44:52 +1100 From: Bruce Evans Message-Id: <199601281744.EAA18411@godzilla.zeta.org.au> To: freebsd-hackers@FreeBSD.org, j@uriah.heep.sax.de Subject: Re: sysexits.h. which EX_ to use Sender: owner-hackers@FreeBSD.org Precedence: bulk >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