mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 03:39:29 +08:00
6599da043e
From-SVN: r14877
13 lines
180 B
C
13 lines
180 B
C
#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);
|
|
}
|