Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bionet!ames!ncar!boulder!sigi!bernard From: bernard@boulder.colorado.edu (Bernie Bernstein) Newsgroups: comp.sys.mac.programmer Subject: Using StdFilePkg to get file for stdio functions? Keywords: pathname stdio C file Message-ID: <9622@boulder.Colorado.EDU> Date: 22 Jun 89 02:49:00 GMT Sender: news@boulder.Colorado.EDU Reply-To: bernard@tigger.colorado.edu (Bernie Bernstein) Organization: University of Colorado, Boulder Lines: 24 Using Think's Lightspeed C. I am porting some code from another system which uses the standard C library for I/O. I would like continue to use them, but would also like to change the function which asks for the pathnames by using the SFGetFile and SFPutFile functions. I have had no problem getting the vol ref number and filename, but in order to fopen the file, it requires a pathname. I read an article recently which said one way of getting the full pathname, but that seems cumbersome. Is there a better way to access mac files using the stdio functions in Lightspeed C using vRefNum and fName? Any Ideas will be helpful. Thanks, Bernie Bernstein bernard@boulder.colorado.edu -or- University of Colorado, Boulder ..!{hao|nbires}!boulder!bernard