Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site axiom.UUCP Path: utzoo!linus!axiom!smk From: smk@axiom.UUCP (Steven M. Kramer) Newsgroups: net.bugs.4bsd Subject: Bug in nlist(3)?? for 4.2bsd? Message-ID: <482@axiom.UUCP> Date: Thu, 9-Feb-84 14:53:55 EST Article-I.D.: axiom.482 Posted: Thu Feb 9 14:53:55 1984 Date-Received: Fri, 10-Feb-84 07:46:43 EST Organization: Axiom Technology, Newton MA Lines: 8 In 4.2bsd nlist(3), it looks like errors return -1 and success returns 0. BUT -- if the file cannot be opened, the routine returns NULL (which is, as we've all heard countless time recently, 0). Seems to me it should return -1 in this case. -- --steve kramer {allegra,genrad,ihnp4,utzoo,philabs,uw-beaver}!linus!axiom!smk (UUCP) linus!axiom!smk@mitre-bedford (MIL)