Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 1996 22:29:44 -0500 (EST)
From:      "Jonathan M. Bresler" <jmb@FreeBSD.ORG>
To:        hackers@FreeBSD.ORG
Subject:   sysexits.h. which EX_ to use
Message-ID:  <Pine.BSF.3.91.960127222400.9792E-100000@Aspen.Woc.Atinc.COM>

next in thread | raw e-mail | index | archive | help
the question:
	when to use EX_IOERR vs EX_OSERR ?

examples:
	if fclose(stdout) fails, use EX_OSERR ?

	fstat() a file fails, use EX_OSERR ?

	read() an existing file fails, use EX_OSERR or EX_IOERR ?

	write() to stdout fails, use EX_OSERR or EX_IOERR ?

thanks

jmb
	
Jonathan M. Bresler        FreeBSD Postmaster         jmb@FreeBSD.ORG
play go. ride bike. hack FreeBSD.--ah the good life 
i am moving to a new job.                 PLEASE USE: jmb@FreeBSD.ORG




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960127222400.9792E-100000>