From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3EA059B1.9633422F@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: Subject: Re: [9fans] fseek Date: Fri, 25 Apr 2003 10:40:17 +0000 Topicbox-Message-UUID: 98d54c8a-eacb-11e9-9e20-41e7f4b1d025 David Presotto wrote: > To handle 64 bit offsets, the following are now defined: > extern int fseeko(FILE *, off_t, int); > extern off_t ftello(FILE *); Hopefully you also have the standard fgetpos, fsetpos. You're free to typedef fpos_t as long long. I don't argue against fseeko since it might be more convenient than making separate fgetpos and fsetpos calls for relative positioning. It's not obvious to me that ftello is needed.