This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Lseek


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]