/* * fileno .c - map a stream to a file descriptor */ /* $Id$ */ #include int(fileno)(FILE* stream) { return stream->_fd; }