diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-04-08 22:26:50 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-04-08 22:26:50 +0000 |
commit | 47dcaf565d2d1001f7644e4f619ffc06fe753f1d (patch) | |
tree | 990ab07dbe60414e36d2bce99e2e5de94544c0c2 /newlib/libc/include | |
parent | 4121d8cf68e69c4569be2be0fb31c68ab0e6f847 (diff) | |
download | cygnal-47dcaf565d2d1001f7644e4f619ffc06fe753f1d.tar.gz cygnal-47dcaf565d2d1001f7644e4f619ffc06fe753f1d.tar.bz2 cygnal-47dcaf565d2d1001f7644e4f619ffc06fe753f1d.zip |
2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* libc/stdio/fclose.c (_fclose_r): New function.
* libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
* libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
* libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
* libc/include/stdio.h (_fclose_r): New prototype.
* libc/stdio/fopen.c: Fix typo in comment.
2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
to handle _r reentrant functions.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/stdio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index f1ee3ee4f..eb9f21c21 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -275,6 +275,7 @@ int _EXFUN(_asprintf_r, (struct _reent *, char **, const char *, ...)); int _EXFUN(_fcloseall_r, (struct _reent *)); FILE * _EXFUN(_fdopen_r, (struct _reent *, int, const char *)); FILE * _EXFUN(_fopen_r, (struct _reent *, const char *, const char *)); +int _EXFUN(_fclose_r, (struct _reent *, FILE *)); int _EXFUN(_fscanf_r, (struct _reent *, FILE *, const char *, ...)); int _EXFUN(_getchar_r, (struct _reent *)); char * _EXFUN(_gets_r, (struct _reent *, char *)); |