Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!munnari!otc!metro!ipso!runx!clubmac
From: clubmac@runx.ips.oz (Macintosh Users Group)
Newsgroups: comp.sys.mac
Subject: HFS Query
Message-ID: <1020@runx.ips.oz>
Date: Mon, 20-Jul-87 04:24:07 EDT
Article-I.D.: runx.1020
Posted: Mon Jul 20 04:24:07 1987
Date-Received: Fri, 24-Jul-87 03:16:11 EDT
Organization: RUNX Un*x Timeshare.  Sydney, Australia.
Lines: 18


I have a program which has a list of datafiles, containing filename and the
directory ID in which the file lives, rather than keeping a full pathname.

Since I am using Lightspeed C's stdio routines, I need to be able to get a
VRefNum (or WDRefNum) from the dirID, so that it can be plugged into SetVol().
Then I can simply call fopen(fName,"r").

Any ideas?


Thanks in advance,
		Jason Haines
		Club President

Club Mac Macintosh Users Group, Sydney, Australia
Snail:     Box 213, Holme Building, Sydney University, NSW, 2006, Australia
ACSnet:    clubmac@runx.ips.oz	   ARPA:   clubmac%runx.ips.oz@seismo.css.gov
UUCP:{enea,hplabs,mcvax,prlb2,seismo,ubc-vision,ukc}!munnari!runx.ips.oz!clubmac