Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site utcsri.UUCP Path: utzoo!utcsri!randy From: randy@utcsri.UUCP (Randall S. Becker) Newsgroups: net.unix-wizards Subject: Finding file name from file descriptors (SYS V, V7) Message-ID: <1180@utcsri.UUCP> Date: Mon, 10-Jun-85 20:37:09 EDT Article-I.D.: utcsri.1180 Posted: Mon Jun 10 20:37:09 1985 Date-Received: Mon, 10-Jun-85 22:13:57 EDT Distribution: net Organization: CSRI, University of Toronto Lines: 20 The problem: Suppose a routine is given a file descriptor as the only piece of information related to a file. Is it possible to determine the full pathname for that file? If so, how? I suspect that I will end up reading inodes (gasp). If you have a solution to the problem, could you mail it to me? If there is enough demand, I will post the collection of solutions to net.sources. Thanks in advance, Randy P.S. I don't monitor net.unix-wizards that frequently, so could you mail any comment directly to me? ..!utcsri!randy -- Randall S. Becker Usenet: ..!utcsri!randy CSNET: randy@toronto