diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2008-05-03 20:09:44 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2008-05-03 20:09:44 +0000 |
| commit | 430f2c87214700ba8711ac0ca65701bf693c8ce8 (patch) | |
| tree | be92fe241628eb7d64b39c9b039e514ea298d2dc /lib/libc/stdio/stdio.c | |
| parent | 957d0a092d6c6cd2ac3cd9acab32da2d2655073e (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/stdio.c')
| -rw-r--r-- | lib/libc/stdio/stdio.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libc/stdio/stdio.c b/lib/libc/stdio/stdio.c index 2447d180ef56..3da2957b82b7 100644 --- a/lib/libc/stdio/stdio.c +++ b/lib/libc/stdio/stdio.c @@ -46,6 +46,20 @@ __FBSDID("$FreeBSD$"); #include "un-namespace.h" #include "local.h" +void * +__fgetcookie(FILE *fp) +{ + + return (fp->_cookie); +} + +void +__fsetfileno(FILE *fp, int fd) +{ + + fp->_file = fd; +} + /* * Small standard I/O/seek/close functions. */ |
