diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-04 18:56:17 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-04 18:56:17 +0000 |
commit | 7501704dc9dc7337e621db87ada8901a496766d9 (patch) | |
tree | 8b0549b249b4f5fd48d0ee389d5db48beea55491 /newlib/libc/include/stdio.h | |
parent | 5cff62d6561dc63ef30b57d7ee415e6e1acdfb70 (diff) | |
download | cygnal-7501704dc9dc7337e621db87ada8901a496766d9.tar.gz cygnal-7501704dc9dc7337e621db87ada8901a496766d9.tar.bz2 cygnal-7501704dc9dc7337e621db87ada8901a496766d9.zip |
2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/asprintf.c: New file.
* libc/stdio/vasprintf.c: Ditto.
* libc/stdio/fvwrite.c: Add code to dynamically reallocate
the buffer for asprintf support.
* libc/stdio/sprintf.c: Add asprintf documentation.
* libc/stdio/vfprintf.c: Add vasprintf documentation.
* libc/include/stdio.h: Add new prototypes.
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 cbb53b977..fecac407d 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -198,11 +198,13 @@ int _EXFUN(remove, (const char *)); int _EXFUN(rename, (const char *, const char *)); #endif #ifndef __STRICT_ANSI__ +int _EXFUN(asprintf, (char **, const char *, ...)); int _EXFUN(vfiprintf, (FILE *, const char *, __VALIST)); int _EXFUN(iprintf, (const char *, ...)); int _EXFUN(fiprintf, (FILE *, const char *, ...)); int _EXFUN(siprintf, (char *, const char *, ...)); char * _EXFUN(tempnam, (const char *, const char *)); +int _EXFUN(vasprintf, (char **, const char *, __VALIST)); int _EXFUN(vsnprintf, (char *, size_t, const char *, __VALIST)); int _EXFUN(vfscanf, (FILE *, const char *, __VALIST)); int _EXFUN(vscanf, (const char *, __VALIST)); @@ -240,6 +242,7 @@ int _EXFUN(putchar_unlocked, (int)); * Recursive versions of the above. */ +int _EXFUN(_asprintf_r, (struct _reent *, char **, const char *, ...)); FILE * _EXFUN(_fdopen_r, (struct _reent *, int, const char *)); FILE * _EXFUN(_fopen_r, (struct _reent *, const char *, const char *)); int _EXFUN(_fscanf_r, (struct _reent *, FILE *, const char *, ...)); @@ -262,6 +265,7 @@ int _EXFUN(_sscanf_r, (struct _reent *, const char *, const char *, ...)); char * _EXFUN(_tempnam_r, (struct _reent *, const char *, const char *)); FILE * _EXFUN(_tmpfile_r, (struct _reent *)); char * _EXFUN(_tmpnam_r, (struct _reent *, char *)); +int _EXFUN(_vasprintf_r, (struct _reent *, char **, const char *, __VALIST)); int _EXFUN(_vfprintf_r, (struct _reent *, FILE *, const char *, __VALIST)); int _EXFUN(_vprintf_r, (struct _reent *, const char *, __VALIST)); int _EXFUN(_vsprintf_r, (struct _reent *, char *, const char *, __VALIST)); |