Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ll-xn!cullvax!drw From: drw@cullvax.UUCP (Dale Worley) Newsgroups: comp.lang.c Subject: A better perror() (Was: Re: Accessing argc ...) Message-ID: <1478@cullvax.UUCP> Date: Thu, 20-Aug-87 15:19:32 EDT Article-I.D.: cullvax.1478 Posted: Thu Aug 20 15:19:32 1987 Date-Received: Sat, 22-Aug-87 11:19:20 EDT Organization: Cullinet Software, Westwood, MA, USA Lines: 15 wendt@arizona.edu (Alan Lee Wendt) writes: > Another problem with error reporting on Unix is that there's no way > that I know of to translate open file id's back into filenames. Basically, because there is no such translation. You've got an i-node open, and it may have many names. The name you opened it under may not even exist anymore! (What happens if you've got the file open, and *all* links to the i-node are deleted?) Dale -- Dale Worley Cullinet Software ARPA: cullvax!drw@eddie.mit.edu UUCP: ...!seismo!harvard!mit-eddie!cullvax!drw OS/2: Yesterday's software tomorrow Nuclear war? There goes my career!