acadia-newlib/newlib/libc/include/sys
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
..
_types.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
config.h 2002-04-19 Alexandre Oliva <aoliva@redhat.com> 2002-04-19 23:52:48 +00:00
dirent.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
errno.h * libc/include/sys/errno.h: Add a cautionary comment. 2001-08-26 02:28:33 +00:00
fcntl.h 2000-09-05 Jeff Johnston <jjohnstn@redhat.com> 2000-09-05 18:29:53 +00:00
features.h * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define. 2002-03-28 04:26:49 +00:00
file.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
param.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
reent.h 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> 2002-05-15 22:58:10 +00:00
resource.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sched.h 2000-12-11 Joel Sherrill <joel@OARcorp.com> 2000-12-12 01:24:09 +00:00
signal.h * libc/include/sys/signal.h [__CYGWIN__]: Issue error message 2002-01-28 18:03:54 +00:00
stat-dj.h 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
stat.h * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin. 2002-02-23 20:46:28 +00:00
stdio.h * libc/include/sys/stdio.h: New file. 2002-05-08 00:12:49 +00:00
time.h * libc/include/sys/time.h: Define timercmp and other macros for __CYGWIN__, 2001-04-21 03:22:47 +00:00
timeb.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
times.h 2000-12-04 Joel Sherrill <joel@OARcorp.com> 2000-12-04 18:47:07 +00:00
types.h * libc/include/grp.h: Include Cygwin specific header. 2002-02-09 20:40:37 +00:00
unistd.h * libc/include/sys/unistd.h: Define getdomainname under cygwin. 2002-05-04 02:22:01 +00:00
utime.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wait.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00