• 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: Opening a file read-only?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening a file read-only?


  • Subject: Re: Opening a file read-only?
  • From: Greg Parker <email@hidden>
  • Date: Tue, 19 Jul 2011 18:43:04 -0700

On Jul 19, 2011, at 6:29 PM, Graham Cox wrote:
> I'm using +[NSData dataWithContentsOfMappedFile:] to access a file. Is it possible to ensure this opens read-only? I see there's a version that takes options, but none of these options seem to open it read-only.

I believe it already opens the file read-only. What makes you suspect that it does not?


--
Greg Parker     email@hidden     Runtime Wrangler


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Opening a file read-only?
      • From: Graham Cox <email@hidden>
References: 
 >Opening a file read-only? (From: Graham Cox <email@hidden>)

  • Prev by Date: Opening a file read-only?
  • Next by Date: Re: Opening a file read-only?
  • Previous by thread: Opening a file read-only?
  • Next by thread: Re: Opening a file read-only?
  • Index(es):
    • Date
    • Thread