Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!ads.com!potomac.ads.com!jtn From: jtn@potomac.ads.com (John T. Nelson) Newsgroups: comp.sys.mac.programmer Subject: Think C question about FILE * implementation Message-ID: <1991May11.190842.27420@potomac.ads.com> Date: 11 May 91 19:08:42 GMT Organization: Advanced Decision Systems, Arlington, VA Lines: 13 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.