acadia-newlib/newlib/libc/stdlib
Jeff Johnston 76ff710cfa 2008-02-29 Gregory Pietsch <gpietsch@comcast.net>
* libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
        data area so as to support reentrant calls.  Change all callers
        to fill in data area with global values and restore any changes
        to the global values after call.
        (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
        to support reentrancy that add a data area argument.
        * libc/include/getopt.h: Add new _r routines and provide macros
        so they can be called with using double-underscores.
2008-02-29 21:11:57 +00:00
..
Makefile.am * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
Makefile.in 2007-12-19 Jeff Johnston <jjohnstn@redhat.com> 2007-12-19 22:36:48 +00:00
_Exit.c 2002-06-13 Jeff Johnston <jjohnstn@redhat.com> 2002-06-13 23:24:03 +00:00
__adjust.c
__atexit.c * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef. 2006-03-21 00:57:34 +00:00
__call_atexit.c * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit 2007-04-05 16:47:38 +00:00
__exp10.c
__ten_mu.c
a64l.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
abort.c
abs.c
assert.c Support __func__ in assert, as required by C99. 2007-06-27 12:44:41 +00:00
atexit.c 2004-09-09 Paul Brook <paul@codesourcery.com> 2004-09-09 19:46:54 +00:00
atexit.h 2004-09-09 Paul Brook <paul@codesourcery.com> 2004-09-09 19:46:54 +00:00
atof.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
atoff.c 2002-12-06 Jeff Johnston <jjohnstn@redhat.com> 2002-12-06 18:58:51 +00:00
atoi.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:54:12 +00:00
atol.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:15:47 +00:00
atoll.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:15:47 +00:00
btowc.c Avoid more compiler warnings. 2007-05-29 21:26:59 +00:00
calloc.c
cxa_atexit.c 2004-09-15 Jeff Johnston <jjohnstn@redhat.com> 2004-09-15 20:50:08 +00:00
cxa_finalize.c 2004-09-15 Jeff Johnston <jjohnstn@redhat.com> 2004-09-15 20:50:08 +00:00
div.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
drand48.c
dtoa.c 2006-08-03 J"orn Rennecke <joern.rennecke@st.com> 2006-08-03 16:56:05 +00:00
dtoastub.c
ecvtbuf.c
efgcvt.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
environ.c 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:07:56 +00:00
envlock.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
envlock.h
eprintf.c
erand48.c
exit.c 2004-09-16 Antony King <antony.king@st.com> 2004-09-16 21:26:51 +00:00
gd_qnan.h 2006-06-22 Jeff Johnston <jjohnstn@redhat.com> 2006-06-22 17:59:52 +00:00
gdtoa-gethex.c 2006-06-22 Jeff Johnston <jjohnstn@redhat.com> 2006-06-22 17:59:52 +00:00
gdtoa-hexnan.c 2006-06-22 Jeff Johnston <jjohnstn@redhat.com> 2006-06-22 17:59:52 +00:00
gdtoa.h 2006-06-22 Jeff Johnston <jjohnstn@redhat.com> 2006-06-22 17:59:52 +00:00
getenv.c
getenv_r.c * Various formatting and whitespace changes. 2002-04-30 18:23:40 +00:00
getopt.c 2008-02-29 Gregory Pietsch <gpietsch@comcast.net> 2008-02-29 21:11:57 +00:00
getsubopt.3 * libc/argz/argz_replace.c: Include buf_findstr.h. 2002-07-19 20:36:09 +00:00
getsubopt.c * libc/argz/argz_replace.c: Include buf_findstr.h. 2002-07-19 20:36:09 +00:00
jrand48.c
l64a.c 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> 2002-05-06 20:44:54 +00:00
labs.c
lcong48.c
ldiv.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
ldtoa.c 2007-06-06 Christian Groessler <chris@groessler.org> 2007-06-06 19:24:28 +00:00
llabs.c 2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru> 2003-11-27 19:47:19 +00:00
lldiv.c 2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru> 2003-11-27 19:47:19 +00:00
local.h
lrand48.c
malign.c * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
malloc.c
mallocr.c 2006-12-18 Jeff Johnston <jjohnstn@redhat.com> 2006-12-18 20:21:48 +00:00
mbctype.h
mblen.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mblen_r.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbrlen.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbrtowc.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbsinit.c * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when 2003-12-05 06:13:44 +00:00
mbsrtowcs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbstowcs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbstowcs_r.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mbtowc.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbtowc_r.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mlock.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
mprec.c 2006-06-22 Jeff Johnston <jjohnstn@redhat.com> 2006-06-22 17:59:52 +00:00
mprec.h 2007-08-31 Antony King <antony.king@st.com> 2007-08-31 21:21:27 +00:00
mrand48.c
msize.c * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
mstats.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
mtrim.c * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
nrand48.c
on_exit.c 2004-09-09 Paul Brook <paul@codesourcery.com> 2004-09-09 19:46:54 +00:00
putenv.c 2004-11-24 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 22:34:15 +00:00
putenv_r.c 2004-11-24 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 22:34:15 +00:00
rand.c 2006-09-12 Paul Brook <paul@codesourcery.com> 2006-09-12 17:31:40 +00:00
rand48.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
rand48.h
rand_r.c
realloc.c
seed48.c
setenv.c
setenv_r.c 2005-01-19 Shaun Jackman <sjackman@gmail.com> 2005-01-20 17:31:04 +00:00
srand48.c
std.h
stdlib.tex * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
strtod.c Fix strtod("-0x", NULL). 2008-02-21 17:14:14 +00:00
strtol.c
strtoll.c * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
strtoll_r.c
strtoul.c
strtoull.c * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
strtoull_r.c
system.c Avoid more compiler warnings. 2007-05-29 21:26:59 +00:00
valloc.c * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
wcrtomb.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wcsrtombs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wcstol.c * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
wcstoll.c * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
wcstoll_r.c * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
wcstombs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wcstombs_r.c 2007-10-23 Jeff Johnston <jjohnstn@redhat.com> 2007-10-23 19:50:29 +00:00
wcstoul.c * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
wcstoull.c * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
wcstoull_r.c * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
wctob.c Avoid more compiler warnings. 2007-05-29 21:26:59 +00:00
wctomb.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wctomb_r.c * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin. 2007-05-16 19:31:08 +00:00