Wanted: file pointer to file name routine

Douglas J Freyburger doug at escher.UUCP
Fri Feb 14 05:01:19 AEST 1986


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 at JPL-VLSI,
JPL Mail Stop 23	escher!doug, escher!teleop!doug
Pasadena, CA 91109	etc.

<Generic Disclaimer>



More information about the Comp.unix mailing list