FILE *foo to filename?

Donald Yuniskis akcs.dgy at vpnet.chi.il.us
Tue Oct 30 13:55:03 AEST 1990


Given:
  FILE *foo;
whats a clean way of obtaining the filename assoctiated with foo?
An initial thought is stat(fileno(foo)..) to get inode number but then what?
Any help is appreciated... thx, dgy



More information about the Comp.lang.c mailing list