libc/newlib/libc/stdlib
Jeff Johnston dc824ef736 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h: Add on_exit prototype.
        * libc/include/sys/reent.h (struct _atexit): Add argument array
        and bits to track type of exit routine to support both on_exit
        and atexit.
        (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
        by default and change the setting of the atexit structure.
        (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
        * libc/stdlib/on_exit.c: New file.
        * libc/stdlib/Makefile.am: Add support for on_exit.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/atexit.c: Change to initialize types field.
        * libc/stdlib/exit.c: Change to look at types field for each
        exit routine and either call an atexit-style or an on_exit-style
        routine accordingly.
2002-05-15 22:58:10 +00:00
..
Makefile.am 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> 2002-05-15 22:58:10 +00:00
Makefile.in 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> 2002-05-15 22:58:10 +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
a64l.c 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> 2002-05-06 20:44:54 +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 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> 2002-05-15 22:58:10 +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 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> 2002-05-15 22:58:10 +00:00
getenv.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
getenv_r.c * Various formatting and whitespace changes. 2002-04-30 18:23: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
l64a.c 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> 2002-05-06 20:44:54 +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 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk 2002-04-13 10:27:02 +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 * Makefile.am (check-DEJAGNU): New target. 2002-04-24 20:53:30 +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
on_exit.c 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> 2002-05-15 22:58:10 +00:00
putenv.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
putenv_r.c * Various formatting and whitespace changes. 2002-04-30 18:23:40 +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 2002-04-17 Jeff Johnston <jjohnstn@redhat.com> 2002-04-17 21:23:31 +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 * Various formatting and whitespace changes. 2002-04-30 18:23:40 +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 * Various formatting and whitespace changes. 2002-04-30 18:23:40 +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/sys/arm/syscalls.c (_rename): New function. Just a stub. 2002-04-29 21:49:56 +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 * Makefile.am (check-DEJAGNU): New target. 2002-04-24 20:53:30 +00:00