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     gpar...@apple.com     Runtime Wrangler


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to