• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to know a file is writeable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to know a file is writeable? (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: Binding NSMovieView to resize
  • Next by Date: Re: NSView isFlipped & NSBitmapImageRep
  • Previous by thread: How to know a file is writeable?
  • Next by thread: Re: How to know a file is writeable?
  • Index(es):
    • Date
    • Thread