Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 11/03/84 (WLS Mods); site escher.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!astrovax!escher!doug From: doug@escher.UUCP (Douglas J Freyburger) Newsgroups: net.wanted.sources,net.unix Subject: Wanted: file pointer to file name routine Message-ID: <73@escher.UUCP> Date: Thu, 13-Feb-86 14:01:19 EST Article-I.D.: escher.73 Posted: Thu Feb 13 14:01:19 1986 Date-Received: Sat, 15-Feb-86 01:42:45 EST Organization: NASA/JPL, Pasadena, CA Lines: 18 Xref: watmath net.wanted.sources:1890 net.unix:7101 I would like a routine that returns a file's full path name given either the file discriptor or the file pointer: int getfilename(buffer, file) char *buffer; FILE *file; or similar. Does anyone have something like this they'd like to share for BSD 4.2 / Ultrix? (-)NX in advance, Doug Freyburger -- Doug Freyburger DOUG@JPL-VLSI, JPL Mail Stop 23 escher!doug, escher!teleop!doug Pasadena, CA 91109 etc.