This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: fseek() vs. fseeko()
- From: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- To: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Tue, 19 Jun 2012 18:27:30 +0200
- Subject: Re: fseek() vs. fseeko()
>
> Ok, then this is a bug in the RTEMS targets using 64-bit off_t.
No. This is a bug in newlib.
fseeko etc. are supposed to take abstract types "off_t".
RTEMS relies upon this assumption, but obviously can't handle this.
> Since > the fseeko64() etc. are non-standard this should be invisible
for the > user.
Agreed. They should not be used anywhere and be removed from newlib.
Ralf