• 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: to read larger files using POSIX functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to read larger files using POSIX functions


  • Subject: Re: to read larger files using POSIX functions
  • From: Dave Zarzycki <email@hidden>
  • Date: Thu, 10 Jan 2008 11:52:48 -0800

There is nothing special required to read/write large files on Mac OS X.

davez


On Jan 10, 2008, at 11:38 AM, Navneet Kumar wrote:

Hi,
I'm using open() and pread() to read a file.
But to open large files when I use open() with O_LARGEFILE, i get the error that O_LARGEFILE is undefined.
I have included <fcntl.h>.
Also is there any thing else i need to do to correctly use pread() for reading large files.


Wishes,
Navneet

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: to read larger files using POSIX functions
      • From: Navneet Kumar <email@hidden>
References: 
 >to read larger files using POSIX functions (From: Navneet Kumar <email@hidden>)

  • Prev by Date: to read larger files using POSIX functions
  • Next by Date: Re: to read larger files using POSIX functions
  • Previous by thread: to read larger files using POSIX functions
  • Next by thread: Re: to read larger files using POSIX functions
  • Index(es):
    • Date
    • Thread