diff options
author | Eric Blake <eblake@redhat.com> | 2009-07-03 11:58:04 +0000 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2009-07-03 11:58:04 +0000 |
commit | ce1eb6bba042d759a2fd8f57dfc01fcc8c478b57 (patch) | |
tree | 7d322aea0cc4b9ebe46f64da6e45a6d1aab190f4 /newlib/libc/include/stdio.h | |
parent | a4175657bfb652ab816a54a219acf926a2f5762b (diff) | |
download | cygnal-ce1eb6bba042d759a2fd8f57dfc01fcc8c478b57.tar.gz cygnal-ce1eb6bba042d759a2fd8f57dfc01fcc8c478b57.tar.bz2 cygnal-ce1eb6bba042d759a2fd8f57dfc01fcc8c478b57.zip |
Add fpurge.
* libc/stdio/fpurge.c (fpurge, _fpurge_r): New file.
* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES, fpurge):
Build it.
* libc/stdio/Makefile.in: Regenerated.
* libc/include/stdio.h (fpurge, _fpurge_r): New declarations.
* libc/stdio/stdio.tex: Build documentation.
Diffstat (limited to 'newlib/libc/include/stdio.h')
-rw-r--r-- | newlib/libc/include/stdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index 6db5151ca..cf0be47b9 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -391,6 +391,7 @@ FILE * _EXFUN(_fopen_r, (struct _reent *, const char *, const char *)); FILE * _EXFUN(_freopen_r, (struct _reent *, const char *, const char *, FILE *)); int _EXFUN(_fprintf_r, (struct _reent *, FILE *, const char *, ...) _ATTRIBUTE ((__format__ (__printf__, 3, 4)))); +int _EXFUN(_fpurge_r, (struct _reent *, FILE *)); int _EXFUN(_fputc_r, (struct _reent *, int, FILE *)); int _EXFUN(_fputs_r, (struct _reent *, const char *, FILE *)); size_t _EXFUN(_fread_r, (struct _reent *, _PTR, size_t _size, size_t _n, FILE *)); @@ -482,6 +483,9 @@ int _EXFUN(_vsprintf_r, (struct _reent *, char *, const char *, __VALIST) int _EXFUN(_vsscanf_r, (struct _reent *, const char *, const char *, __VALIST) _ATTRIBUTE ((__format__ (__scanf__, 3, 0)))); +/* Other extensions. */ + +int _EXFUN(fpurge, (FILE *)); ssize_t _EXFUN(__getdelim, (char **, size_t *, int, FILE *)); ssize_t _EXFUN(__getline, (char **, size_t *, FILE *)); |