View Single Post
  #8   (View Single Post)  
Old 14th April 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

One would typically use fread(3) instead of read(2) when using fseek(3).

In fact, you should probably use fseeko(3) and ftello(3) as well.. the other functions do not handle 64-bit file offsets.
Reply With Quote