acadia-newlib/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
__exp10.c
__ten_mu.c
a64l.c 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> 2002-05-06 20:44:54 +00:00
abort.c
abs.c
assert.c
atexit.c 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> 2002-05-15 22:58:10 +00:00
atexit.h
atof.c
atoff.c
atoi.c
atol.c
bsearch.c
calloc.c
div.c
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
ecvtbuf.c
efgcvt.c
environ.c
envlock.c
envlock.h
eprintf.c
erand48.c
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
jrand48.c
l64a.c 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> 2002-05-06 20:44:54 +00:00
labs.c
lcong48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
ldiv.c
ldtoa.c 2002-02-05 Manik Raina <manik@cisco.com> 2002-02-05 17:14:35 +00:00
local.h
lrand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
malign.c
malloc.c
mallocr.c * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk 2002-04-13 10:27:02 +00:00
mbctype.h
mblen.c 2002-04-01 Jeff Johnston <jjohnstn@redhat.com> 2002-04-01 23:06:21 +00:00
mblen_r.c
mbstowcs.c
mbstowcs_r.c
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
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
mstats.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
mtrim.c
nrand48.c
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
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
realloc.c
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
stdlib.tex * Various formatting and whitespace changes. 2002-04-30 18:23:40 +00:00
strdup.c
strdup_r.c
strtod.c 2001-04-20 Jeff Johnston <jjohnstn@redhat.com> 2001-04-20 22:50:51 +00:00
strtol.c
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
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
wcstombs.c
wcstombs_r.c
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