home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
libg++-2.7.1-base.tgz
/
libg++-2.7.1-src.tar
/
fsf
/
libg++
/
libio
/
stdio
/
fileno.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-08-12
|
180b
|
13 lines
#include "libioP.h"
#include "stdio.h"
int
fileno(fp)
_IO_FILE* fp;
{
CHECK_FILE(fp, EOF);
if (!(fp->_flags & _IO_IS_FILEBUF))
return EOF;
return _IO_fileno(fp);
}