minix/lib/stdio/fileno.c

13 lines
144 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/*
* fileno .c - map a stream to a file descriptor
*/
/* $Header$ */
#include <stdio.h>
int
(fileno)(FILE *stream)
{
return stream->_fd;
}