acadia-newlib/newlib/libc/include
Eric Blake b9db529222 Add support for asnprintf, and improve *printf documentation.
* libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
	(ELIX_2_SOURCES): ...to this.
	(ELIX_4_SOURCES): Add new variable.  Build asnprintf.
	(GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
	(CHEWOUT_FILES): Include diprintf in documentation.
	* libc/stdio/Makefile.in: Regenerate.
	* libc/stdio/diprintf.c: Improve documentation.
	* libc/stdio/dprintf.c: Likewise.
	* libc/stdio/siprintf.c: Likewise.
	* libc/stdio/sprintf.c: Likewise.
	* libc/stdio/vfprintf.c: Likewise.
	* libc/stdio/viprintf.c: Likewise.
	* libc/stdio/vsniprintf.c: Consolidate documentation.
	* libc/stdio/asiprintf.c: Refer to documentation.
	* libc/stdio/asprintf.c: Likewise.
	* libc/stdio/fiprintf.c: Likewise.
	* libc/stdio/fprintf.c: Likewise.
	* libc/stdio/iprintf.c: Likewise.
	* libc/stdio/printf.c: Likewise.
	* libc/stdio/sniprintf.c: Likewise.
	* libc/stdio/vdiprintf.c: Likewise.
	* libc/stdio/vdprintf.c: Likewise.
	* libc/stdio/vsiprintf.c: Likewise.
	* libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
	* libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
	* libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
	* libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
	file.
	* libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
	* libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
	typical case.
	* libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
	* libc/include/stdio.h: Add prototypes for new functions; sort
	existing functions.
2007-05-04 02:55:16 +00:00
..
machine 2007-04-26 Patrick Mansfield <patmans@us.ibm.com> 2007-04-26 19:23:37 +00:00
sys 2007-03-15 Jeff Johnston <jjohnstn@redhat.com> 2007-03-15 21:32:13 +00:00
_ansi.h 2002-08-27 Jeff Johnston <jjohnstn@redhat.com> 2002-08-27 20:27:35 +00:00
_syslist.h 2005-08-22 Shaun Jackman <sjackman@gmail.com> 2005-08-22 21:13:35 +00:00
alloca.h 2006-12-13 Joel Schopp <jschopp@austin.ibm.com> 2006-12-13 23:01:21 +00:00
ar.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
argz.h * libc/argz: New directory. 2002-06-14 20:51:09 +00:00
assert.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ctype.h 2005-03-18 Hans-Peter Nilsson <hp@axis.com> 2005-03-18 17:18:59 +00:00
dirent.h * libc/include/dirent.h: Protect against multiple inclusion. 2001-11-30 17:26:47 +00:00
envz.h * libc/argz: New directory. 2002-06-14 20:51:09 +00:00
errno.h 2003-05-28 Jeff Johnston <jjohnstn@redhat.com> 2003-05-28 22:04:40 +00:00
fastmath.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
fcntl.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
getopt.h 2006-01-04 Gregory Pietsch <gpietsch@comcast.net> 2006-01-04 21:21:52 +00:00
grp.h * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin. 2004-05-17 16:06:14 +00:00
iconv.h 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru> 2004-06-25 20:33:28 +00:00
ieeefp.h 2007-04-26 Patrick Mansfield <patmans@us.ibm.com> 2007-04-26 19:23:37 +00:00
inttypes.h 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org> 2005-12-16 19:03:12 +00:00
langinfo.h * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
libgen.h 2005-04-08 Jeff Johnston <jjohnstn@redhat.com> 2005-04-08 20:48:40 +00:00
limits.h * libc/include/limits.h (NL_ARGMAX): Define a default value. 2007-04-24 16:01:15 +00:00
locale.h 2002-06-27 Benjamin Kosnik <bkoz@redhat.com> 2002-06-27 23:58:38 +00:00
malloc.h * libc/include/malloc.h: On cygwin, define malloc _r functions as wrapper 2002-08-26 04:33:46 +00:00
math.h 2007-04-26 Patrick Mansfield <patmans@us.ibm.com> 2007-04-26 19:23:37 +00:00
newlib.h 2002-08-28 Jeff Johnston <jjohnstn@redhat.com> 2002-08-28 23:42:53 +00:00
paths.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
process.h * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix spawnve 2002-06-11 02:26:43 +00:00
pthread.h 2006-09-13 Joel Sherrill <joel@oarcorp.com> 2006-09-13 22:09:27 +00:00
pwd.h * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid 2005-02-08 20:55:18 +00:00
reent.h 2003-08-27 Corinna Vinschen <corinna@vinschen.de> 2003-08-27 16:24:57 +00:00
regdef.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
search.h * Makefile.am (LIB_OBJECTLISTS): Add 2002-06-20 19:51:40 +00:00
setjmp.h 2002-06-27 Benjamin Kosnik <bkoz@redhat.com> 2002-06-27 23:58:38 +00:00
signal.h 2002-07-24 Jeff Johnston <jjohnstn@redhat.com> 2002-07-24 18:18:07 +00:00
stdint.h 2006-08-16 Joel Schopp <jschopp@austin.ibm.com> 2006-08-16 21:39:43 +00:00
stdio.h Add support for asnprintf, and improve *printf documentation. 2007-05-04 02:55:16 +00:00
stdlib.h * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific file. 2005-12-05 22:15:21 +00:00
string.h * libc/include/string.h: Add cygwin-specific function declaration. 2005-11-08 22:10:33 +00:00
termios.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
time.h * include/time.h: Remove more cygwin-specific stuff. 2005-11-18 15:57:24 +00:00
unctrl.h * libc/include/sys/config.h: define __IMPORT appropriately 2000-08-01 20:51:51 +00:00
unistd.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
utime.h 2002-07-04 Jeff Johnston <jjohnstn@redhat.com> 2002-07-04 22:51:08 +00:00
utmp.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wchar.h 2003-12-05 Jeff Johnston <jjohnstn@redhat.com> 2003-12-05 20:51:57 +00:00
wctype.h 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2002-11-07 00:44:31 +00:00