Date: Mon, 30 Oct 2000 19:20:29 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Edmund Horner cc: djgpp AT delorie DOT com Subject: Re: filelength(): POSIX or not In-Reply-To: <972911905.508266@shelley.paradise.net.nz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.