Lseek

Darryl Scott darryls@productcosting.com
Tue Apr 6 10:33:00 GMT 2004


Hi!

Hi!

I reported that I had a problem with lseek. This has been resolved, I 
should not write when tired. The issue arose as lseek was declared as 
"extern long lseek()"; Changed this to "extern off_t lseek(int,off_t,int);" 
and is was a happy bunny. Casting  off_t to long is not required for the 
offset or for passing back the result.


Kind regards,


Darryl Scott

Profile Product Costing Ltd
The Old Vicarage, Market Place, Castle Donington, DE74 2JB, United Kingdom
Telephone: +44 (0) 1332 856972  FAX: +44 (0) 1332 810769  Mobile +44 (0) 
7808 078388
Web : www.productcosting.com
This email and any attachments have been checked for viruses.




More information about the Cygwin-xfree mailing list