repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Uninitialized vector entry?
[minix3.git]
/
lib
/
stdio
/
fileno.c
blob
1619a30954272dbe7fd43cdababf72f1dc1b8580
1
/*
2
* fileno .c - map a stream to a file descriptor
3
*/
4
/* $Header$ */
5
6
#include <stdio.h>
7
8
int
9
(
fileno
)(
FILE
*
stream
)
10
{
11
return
stream
->
_fd
;
12
}