acadia-newlib/newlib/libc/stdio
Corinna Vinschen 6121968b19 * libc/include/stdio.h (__VALIST): Guard against multiple definition.
* libc/include/wchar.h: Include stdarg.h.
	(__VALIST): Define conditionally.
	(fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, wprintf: Declare.
	(_fwprintf_r, _swprintf_r, _vfwprintf_r, _vswprintf_r, _vwprintf_r,
	 _wprintf_r): Declare.
	* libc/stdio/Makefile.am: Add new files.
	* libc/stdio/Makefile.in: Regenerate.
	* libc/stdio/fwprintf.c: New file.
	* libc/stdio/local.h (_svfwprintf_r, _svfiwprintf_r): Declare.
	(__CH_CLASS, __STATE, __ACTION): Move definition from vfprintf.c here
	and move to the __ namespace.
	(__chclass, __state_table, __action_table): Declare.
	* libc/stdio/stdio.tex: Add new documentation references.
	* libc/stdio/swprintf.c: New file.
	* libc/stdio/vfprintf.c (__SPRINT): New macro to call the right
	__sprint_r function according to compilation unit.  Use throughout.
	(__ssprint_r): Rename STRING_ONLY variant from __sprint_r.
	Make externaly available.  Only define if INTEGER_ONLY is defined.
	(__sprint_r): Make externaly available.  Only define if INTEGER_ONLY
	is defined.  Handle stream orientation.
	(__sbprintf): Copy FILE's _flags2 member as well.
	(__chclass, __state_table, __action_table): Prepend __ to name and
	make externally available.
	* libc/stdio/vfwprintf.c: New file.
	* libc/stdio/vswprintf.c: New file.
	* libc/stdio/vwprintf.c: New file.
	* libc/stdio/wprintf.c: New file.
2009-03-06 09:55:52 +00:00
..
Makefile.am * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
Makefile.in * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
asiprintf.c Fix 2008-04-14 regression in asprintf(ptr,""). 2008-04-30 02:47:14 +00:00
asniprintf.c 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
asnprintf.c 2008-11-24 Craig Howland <howland@LGSInnovations.com> 2008-11-24 22:08:02 +00:00
asprintf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
clearerr.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
diprintf.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
dprintf.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
fclose.c Fix fflush issues. 2007-07-13 20:37:53 +00:00
fcloseall.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
fdopen.c More POSIX stream corner cases. 2007-07-31 20:49:40 +00:00
feof.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
ferror.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
fflush.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
fgetc.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
fgetpos.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
fgets.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
fgetwc.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
fgetws.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
fileno.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
findfp.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
fiprintf.c Add support for asnprintf, and improve *printf documentation. 2007-05-04 02:55:16 +00:00
fiscanf.c 2004-11-23 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 00:45:41 +00:00
flags.c Implement funopen, fopencookie. 2007-06-04 18:10:17 +00:00
floatio.h 2000-12-06 Jeff Johnston <jjohnstn@redhat.com> 2000-12-06 23:50:11 +00:00
fmemopen.c Implement fmemopen and open_memstream. 2007-08-02 20:23:06 +00:00
fopen.c 2004-06-11 Antony King <antony.king@st.com> 2004-06-11 20:37:10 +00:00
fopencookie.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
fprintf.c Add support for asnprintf, and improve *printf documentation. 2007-05-04 02:55:16 +00:00
fputc.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
fputs.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
fputwc.c * libc/stdio/fputwc.c: Fix typo in man page info. 2009-02-16 15:04:34 +00:00
fputws.c 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org> 2008-12-12 17:21:08 +00:00
fread.c 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
freopen.c * libc/stdio/freopen.c: Add <string.h> for memset prototype. 2008-12-12 15:45:19 +00:00
fscanf.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
fseek.c * libc/stdio/freopen.c: Add <string.h> for memset prototype. 2008-12-12 15:45:19 +00:00
fseeko.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
fsetpos.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
ftell.c Fix ftell bug after ungetc. 2008-03-04 02:22:36 +00:00
ftello.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
funopen.c Implement funopen, fopencookie. 2007-06-04 18:10:17 +00:00
fvwrite.c Fix fflush issues. 2007-07-13 20:37:53 +00:00
fvwrite.h 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00
fwalk.c 2009-01-12 Jeff Johnston <jjohnstn@redhat.com> 2009-01-12 22:19:11 +00:00
fwide.c 2009-01-05 Craig Howland <howland@LGSInnovations.com> 2009-01-05 19:08:03 +00:00
fwprintf.c * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
fwrite.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
getc.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
getc_u.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
getchar.c 2006-06-14 Jeff Johnston <jjohnstn@redhat.com> 2006-06-14 20:49:11 +00:00
getchar_u.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
getdelim.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
getline.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
gets.c * libc/stdio/gets.c (_gets_r): Lock stdin here and call 2008-11-25 09:33:43 +00:00
getw.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
getwc.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
getwchar.c 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org> 2008-12-12 17:21:08 +00:00
iprintf.c Add support for asnprintf, and improve *printf documentation. 2007-05-04 02:55:16 +00:00
iscanf.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
local.h * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
makebuf.c 2008-01-03 Jeff Johnston <jjohnstn@redhat.com> 2008-01-03 22:33:37 +00:00
mktemp.c * libc/stdio64/local64.h: Delete, move contents to... 2007-05-01 23:03:36 +00:00
open_memstream.c * libc/stdio/open_memstream.c (stdint.h): Include. 2009-02-25 04:00:05 +00:00
perror.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
printf.c Add support for asnprintf, and improve *printf documentation. 2007-05-04 02:55:16 +00:00
putc.c 2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 21:22:19 +00:00
putc_u.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
putchar.c 2006-06-14 Jeff Johnston <jjohnstn@redhat.com> 2006-06-14 20:49:11 +00:00
putchar_u.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
puts.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
putw.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
putwc.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
putwchar.c 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org> 2008-12-12 17:21:08 +00:00
refill.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
remove.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
rename.c 2007-09-18 Jeff Johnston <jjohnstn@redhat.com> 2007-09-18 19:32:43 +00:00
rewind.c * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22. 2007-05-25 17:05:09 +00:00
rget.c 2008-03-11 Jeff Johnston <jjohnstn@redhat.com> 2008-03-11 19:13:30 +00:00
scanf.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
sccl.c 2004-11-23 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 00:45:41 +00:00
setbuf.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
setbuffer.c 2004-09-16 Antony King <antony.king@st.com> 2004-09-16 21:15:14 +00:00
setlinebuf.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
setvbuf.c Fix fflush issues. 2007-07-13 20:37:53 +00:00
siprintf.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
siscanf.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
sniprintf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
snprintf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
sprintf.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
sscanf.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
stdio.c Implement funopen, fopencookie. 2007-06-04 18:10:17 +00:00
stdio.tex * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
swprintf.c * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
tmpfile.c * stdio/tmpfile.c: Include <sys/stat.h>. 2007-05-17 12:10:29 +00:00
tmpnam.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 20:01:55 +00:00
ungetc.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
ungetwc.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
vasiprintf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
vasniprintf.c 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
vasnprintf.c 2008-11-24 Craig Howland <howland@LGSInnovations.com> 2008-11-24 21:27:33 +00:00
vasprintf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
vdiprintf.c 2008-03-07 Jeff Johnston <jjohnstn@redhat.com> 2008-03-07 16:45:04 +00:00
vdprintf.c 2008-03-07 Jeff Johnston <jjohnstn@redhat.com> 2008-03-07 16:45:04 +00:00
vfieeefp.h 2007-08-31 Antony King <antony.king@st.com> 2007-08-31 21:21:27 +00:00
vfprintf.c * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
vfscanf.c 2009-01-28 Jeff Johnston <jjohnstn@redhat.com> 2009-01-28 18:12:52 +00:00
vfwprintf.c * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
viprintf.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
viscanf.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
vprintf.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
vscanf.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
vsiprintf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
vsiscanf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
vsniprintf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
vsnprintf.c Fix 2008-04-14 regression in asprintf(ptr,""). 2008-04-30 02:47:14 +00:00
vsprintf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
vsscanf.c 2008-04-14 Jeff Johnston <jjohnstn@redhat.com> 2008-04-14 21:14:55 +00:00
vswprintf.c * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
vwprintf.c * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
wbuf.c 2008-12-10 Corinna Vinschen <corinna@vinschen.de> 2008-12-10 23:43:12 +00:00
wprintf.c * libc/include/stdio.h (__VALIST): Guard against multiple definition. 2009-03-06 09:55:52 +00:00
wsetup.c 2007-03-15 Eric Blake <ebb9@byu.net> 2007-03-15 18:40:48 +00:00