On Thu, 29 Sep 2005 08:42:53, Matt Gough <email@hidden> wrote:
> On 28 Sep 2005, at 20:07, Mike Kluev wrote:
>
>>>> ... We don't even have atomic "create-open" in File Manager...
>
> Haven't tried it myself, but in 10.4 I suspect that the following
> does exactly that:
>
> OSStatus FSCreateFileAndOpenForkUnicode(const FSRef *parentRef,
> UniCharCount nameLength, const UniChar *name, FSCatalogInfoBitmap
> whichInfo, const FSCatalogInfo *catalogInfo, UniCharCount
> forkNameLength, const UniChar *forkName, SInt8 permissions, SInt16
> *forkRefNum, FSRef *newRef);
Cool, thanks! Is it atomic?
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden