Opening a file read-only?
Opening a file read-only?
- Subject: Opening a file read-only?
- From: Graham Cox <email@hidden>
- Date: Wed, 20 Jul 2011 11:29:51 +1000
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.
--Graham
_______________________________________________
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