Subj : Re: newbie question [C language] To : comp.programming From : Alan Balmer Date : Wed Jul 06 2005 10:37 am On Tue, 05 Jul 2005 19:35:59 -0400, CTips wrote: >Alan Balmer wrote: >> And fstat() is not a standard function anyway. > >fstat() *is* a standard function - its part of the POSIX standard, and >is available on pretty much every hosted platform. The OP asked for ANSI standard, not POSIX. > >> The standard specifies that ftell returns long int. > >Use ftello(), which returns an off_t, instead. Another non-standard function. -- Al Balmer Balmer Consulting removebalmerconsultingthis@att.net .