home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD2.mdf
/
gnu
/
djgpp
/
src
/
libgplus.5
/
libio
/
stdio
/
fileno.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-10-05
|
175 b
|
13 lines
#include "libio.h"
#include "stdio.h"
int
fileno(fp)
_IO_FILE* fp;
{
COERCE_FILE(fp);
if (!(fp->_flags & _IO_IS_FILEBUF))
return EOF;
return _IO_fileno(fp);
}