Annotation of GNUtools/libg++/libio/stdio/fileno.c, revision 1.1.1.1

1.1       root        1: #include "libioP.h"
                      2: #include "stdio.h"
                      3: 
                      4: int
                      5: fileno(fp)
                      6:      _IO_FILE* fp;
                      7: {
                      8:   COERCE_FILE(fp);
                      9:   if (!(fp->_flags & _IO_IS_FILEBUF))
                     10:     return EOF;
                     11:   return _IO_fileno(fp);
                     12: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.