source:
trunk/minix/lib/stdio/fileno.c@
12
| Last change on this file since 12 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 221 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * fileno .c - map a stream to a file descriptor |
| 3 | */ |
| 4 | /* $Header: /cvsup/minix/src/lib/stdio/fileno.c,v 1.1.1.1 2005/04/21 14:56:35 beng Exp $ */ |
| 5 | |
| 6 | #include <stdio.h> |
| 7 | |
| 8 | int |
| 9 | (fileno)(FILE *stream) |
| 10 | { |
| 11 | return stream->_fd; |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.