ack/lang/cem/libcc.ansi/stdio/fileno.c
1989-12-18 15:04:14 +00:00

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