Re: How to know a file is writeable?
Re: How to know a file is writeable?
- Subject: Re: How to know a file is writeable?
- From: Will Mason <email@hidden>
- Date: Thu, 24 Feb 2005 16:37:32 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
> how can is know if I can write/delete an existing file?
if (access("filename", W_OK) == 0)
{
// You can write/delete the file
}
Will
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden