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