Thanks Corinna, fseeko is new to me! So for 64 bit file offsets I can use either:
open/lseek/close or fopen/fseeko/ftello/fclose But in both cases do I have to specify #define _FILE_OFFSET_BITS 64 to make off_t 64 bit, or will off_t be 64 bits by default in cygwin 1.5.0 ? Colin __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/