Re: pread function help needed....?
Re: pread function help needed....?
- Subject: Re: pread function help needed....?
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Fri, 9 Dec 2011 11:02:31 +0000
On 9 Dec 2011, at 08:05, Waqar Ahmad wrote:
> byts = 18446744073709551615
This is (int64_t) -1. It means that pread() has failed. Look at errno to get the reason for the error.
If you're going to deal with UNIX at this level, you should probably spend some learning its idioms. You can pick this up piecemeal by reading the man pages, but I recommend you grab a copy of "Advanced Programming in the UNIX Environment" by Stevens and Rago.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden