Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!husc6!umb!karl From: karl@umb.umb.edu (Karl Berry.) Newsgroups: comp.unix.wizards Subject: Getting the pathname from a FILE*. Message-ID: <651@umb.umb.edu> Date: 8 Jul 88 21:38:02 GMT Organization: UMASS-Boston, Boston, MA Lines: 11 The title says it all. Am I missing something obvious? The pathname doesn't seem to be a field in either the _iobuf or the structure returned by stat. ttyname or ctermid will give you the pathname of your terminal, but I want the pathname of an arbitrary FILE* I have fopen. Or am I missing some reason why this is not feasible? Karl. karl@umb.edu ...!harvard!umb!karl