Path: utzoo!attcan!uunet!husc6!bu-cs!budd
From: budd@bu-cs.BU.EDU (Philip Budne)
Newsgroups: comp.unix.wizards
Subject: Re: Getting the pathname from a FILE*.
Message-ID: <23742@bu-cs.BU.EDU>
Date: 9 Jul 88 04:50:24 GMT
References: <651@umb.umb.edu>
Reply-To: budd@buita.bu.edu (Phil Budne)
Followup-To: comp.unix.wizards
Organization: Boston Univ.
Lines: 9

Names are a property of directory entries, not files (inodes).  Un*x
files do not have "names" since many directory entries can reference
the same file.  The stdio library echos this.  Since you called
fopen() you can save the info.  The real pain is figuring out what an
fd from a parent is, or chasing down what file finally was opened
after 3 symlinks.

Philip Budne, Boston U
(Ahh for JFNS%)