Re: FSRef_fopen alternative
Re: FSRef_fopen alternative
- Subject: Re: FSRef_fopen alternative
- From: Tommy Nordgren <email@hidden>
- Date: Mon, 14 Aug 2006 16:55:19 +0200
On Aug 14, 2006, at 3:56 PM, Jerry wrote:
On 14 Aug 2006, at 14:38, Edward K. Chew wrote:
Quick CW to XCode migration question:
I came across a section in my code where I call FSRef_fopen(),
which is like a stdio fopen() but accepts an FSRef instead of a
path. FSRefParentAndFilename_fopen() is another call I use
elsewhere. Unfortunately, both of these appear to be CW-specific
APIs. Would there be XCode equivalents?
Use FSRefMakePath and pass the path to fopen.
Jerry
For convenience, in not having to change source code,
write a small compatibility library that implements these calls the
way described.
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden