Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.bugs.sys5 Subject: Re: 'what' doesn't use perror to print open errors, Sys V/3.0 Message-ID: <1532@auspex.auspex.com> Date: 2 May 89 03:31:32 GMT References: <3759@sugar.hackercorp.com> <10156@smoke.BRL.MIL> <886@twwells.uucp> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 9 >According to the manual pages for Microport V/386 3.0e, fopen returns >an error status in errno and perror is defined to work for system >calls and library functions. > >I don't have the manual pages for other systems handy, but I seem to >recall similar wording for BSD and SunOS. No, I checked the 4.3-tahoe and SunOS 4.0 "fopen" man pages; they mention "errno" nowhere.