minix/lib/stdio/fileno.c
2005-04-21 14:53:53 +00:00

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;
}