Guido Draheim <[EMAIL PROTECTED]> writes:

> The glibc cvs stdio.h should be fixed, - atleast do export fseeko
> when #def __USE_FILE_OFFSET64 is set!

POSIX 1003.1-2001 says that fseeko should be exported by any
implementation that claims conformance to XSI.  glibc doesn't claim
that yet, but it will in due course, and I think that's your best
argument for having glibc export fseeko by default.

In other words, just as stdio.h exports fileno by default (even though
the C Standard prohibits this), it should also export fseeko by
default.  In both cases, exporting by default will cause fewer
problems in practice.

> Note that C compilers wouldn't even warn about the
> missing fseeko declaration

C99 requires a diagnostic for this, so this problem will go away
eventually.


Reply via email to