Re: [NSFileHandle isOpen]?
Re: [NSFileHandle isOpen]?
- Subject: Re: [NSFileHandle isOpen]?
- From: Programmingkid <email@hidden>
- Date: Mon, 14 Feb 2011 11:33:10 -0500
On Feb 14, 2011, at 10:36 AM, email@hidden wrote:
>>>>
>>>> Is there a way to determine if a NSFileHandle object has been sent a closeFile message?
>>
>
> and what about implement your own method like:
> -(void)sendActionToFile: actualState:(NSDictionary *)userInfo;
>
> 'userInfo' is a dictionary filled with state information just before using NSFileHandle
> in order to test if there is still events in waiting associated with this file
> of course ,you can determine in advance that you already sent twice closeFile , if nothing happened there is a problem.... so first you can send the message with cocoa, second why not asking the kernel why the file refuse to be closed (already a user reading & writting on it ? policy associated with the file ? and so on !).
What method do you suggest I use to ask the kernel these things?
_______________________________________________
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