newlib-cygwin/newlib/libc/stdlib
Jeff Johnston d4dca0e42e 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
        initializing a struct _reent that has been dynamically allocated.
        (_REENT_CHECK_MISC): New macro that checks _misc struct for
        _REENT_SMALL and does nothing otherwise.
        (_REENT_STRTOK_LAST): New macro for reentrant strtok.
        (_REENT_MBLEN_STATE): New macro for reentrant mblen.
        (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
        (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
        [_REENT_SMALL](struct _misc_reent): New structure containing
        miscellaneous reentrant areas needed by newlib.
        [_REENT_SMALL](struct _reent): Add _misc pointer.
        [_REENT_SMALL](_REENT_INIT_MISC): New macro.
        * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
        and _REENT_STRTOK_LAST macros.
        * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
        and _REENT_MBLEN_STATE macros.
        * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
        and _REENT_MBTOWC_STATE macros.
        * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
        and _REENT_WCTOMB_STATE macros.
2002-04-01 23:06:21 +00:00
..
Makefile.am * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal 2001-12-18 02:22:55 +00:00
Makefile.in * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal 2001-12-18 02:22:55 +00:00
__adjust.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
__exp10.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
__ten_mu.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
abort.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 18:51:09 +00:00
abs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
assert.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atexit.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
atexit.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atof.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atoff.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atoi.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atol.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
bsearch.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
calloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
div.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
drand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
dtoa.c 2002-02-05 Manik Raina <manik@cisco.com> 2002-02-05 17:14:35 +00:00
dtoastub.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ecvtbuf.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
efgcvt.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
environ.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
envlock.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 16:11:59 +00:00
envlock.h 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 16:11:59 +00:00
eprintf.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
erand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
exit.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
getenv.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
getenv_r.c 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU> 2002-04-01 22:29:40 +00:00
getopt.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
jrand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
labs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
lcong48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
ldiv.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ldtoa.c 2002-02-05 Manik Raina <manik@cisco.com> 2002-02-05 17:14:35 +00:00
local.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
lrand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
malign.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
malloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mallocr.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
mbctype.h Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
mblen.c 2002-04-01 Jeff Johnston <jjohnstn@redhat.com> 2002-04-01 23:06:21 +00:00
mblen_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mbstowcs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mbstowcs_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mbtowc.c 2002-04-01 Jeff Johnston <jjohnstn@redhat.com> 2002-04-01 23:06:21 +00:00
mbtowc_r.c * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing 2001-06-11 17:21:18 +00:00
mlock.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 16:11:59 +00:00
mprec.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
mprec.h Handle ARMs with big endian IEEE words but little endian IEEE bytes 2001-06-28 10:40:09 +00:00
mrand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
msize.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mstats.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
mtrim.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
nrand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
putenv.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
putenv_r.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
qsort.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
rand.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
rand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
rand48.h * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
rand_r.c Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com> 2000-06-08 21:56:18 +00:00
realloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
seed48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
setenv.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
setenv_r.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
srand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
std.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
stdlib.tex 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
strdup.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
strdup_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
strtod.c 2001-04-20 Jeff Johnston <jjohnstn@redhat.com> 2001-04-20 22:50:51 +00:00
strtol.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
strtoll.c 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 18:05:11 +00:00
strtoll_r.c 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 18:05:11 +00:00
strtoul.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
strtoull.c 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 18:05:11 +00:00
strtoull_r.c 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 18:05:11 +00:00
system.c * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout. 2001-10-22 16:40:26 +00:00
valloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wcstombs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wcstombs_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wctomb.c 2002-04-01 Jeff Johnston <jjohnstn@redhat.com> 2002-04-01 23:06:21 +00:00
wctomb_r.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 18:51:09 +00:00