[comp.sys.mac.programmer] Think C question about FILE * implementation

jtn@potomac.ads.com (John T. Nelson) (05/12/91)

I notice in the Think C implementation of FILE * there is something
called "refnum."  When a file descriptor is opened this refnum seems
to point to a valid refnum ID (1224 to be specific).  I would like to
use this refnum to get info abou a OPEN file.  In order to do things
like GetFInfo() using this refnum it looks to me like maybe I need to
provide a volume ID or perhaps a working directory ID like in the
VRefNum field of the param block I pass to GetFInfo().

What should I pass along with the refnum to get decent info on that
file?  Am I mistaken in thinking I can do this at all?

Thanks all.