Mail Archives: djgpp/2000/10/30/12:22:31
On Tue, 31 Oct 2000, Edmund Horner wrote:
> src/libc/posix/sys/stat/filelen.c
>
> Does this mean that filelength() _is_ a POSIX function? According to its
> info page, it's "not POSIX".
No, filelength is not a Posix function.
The fact that its source is under src/libc/posix does not mean that this
function is Posix (there are all kinds of helper functions there written
to be used by Posix functions such as stat and fstat). If you don't
trust the docs, look in the header file which defines the prototype
(io.h, in this case): if the prototype is after this line:
#ifndef _POSIX_SOURCE
then the function is non-Posix.
- Raw text -