On Oct 17, 2011, at 9:26 PM, Wilker wrote: > I wanna it mapped always and uncached because I don't wanna read the entire > file, just some pieces of it (small pieces), so, if the user is acessing a > file from an external drive, and the file has 8gb, I only wanna read 64kb, > so, I don't wanna read it all just for 64kb.
Just use fopen/fseek/fread/fclose. Mapping in the entire file just so you can read 64kb is overkill. —Jens_______________________________________________ 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