This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

Re: fseek() vs. fseeko()


On 06/19/2012 03:11 PM, Corinna Vinschen wrote:
There are 64 bit capable functions available, see newlib/libc/stdio64.
I didn't implement that stuff, but I think the idea was that targets
using 64 bit off_t would use the fseeko64/ftello64/fsetpos64 functions.

In Cygwin, for instance, off_t is 64 bit.  An application calling
fseeko will actually call fseeko64 by redirecting the fseeko entry
point to fseeko64.

Ok, then this is a bug in the RTEMS targets using 64-bit off_t. Since the fseeko64() etc. are non-standard this should be invisible for the user.


--
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschÃftliche Mitteilung im Sinne des EHUG.


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