12 lines
144 B
C
Executable file
12 lines
144 B
C
Executable file
/*
|
|
* fileno .c - map a stream to a file descriptor
|
|
*/
|
|
/* $Header$ */
|
|
|
|
#include <stdio.h>
|
|
|
|
int
|
|
(fileno)(FILE *stream)
|
|
{
|
|
return stream->_fd;
|
|
}
|