summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/atexit.c
Commit message (Collapse)AuthorAgeFilesLines
* Add missing thread-safe locking.0_9_13Eric Andersen2002-08-091-0/+27
| | | | -Erik
* Swap in the new stdio code.Manuel Novoa III2002-03-121-5/+8
|
* Doh! Miles Bader noticed a couple of spots where I forgotEric Andersen2002-02-191-3/+1
| | | | to mark __stdio_flush_buffers with weak_function. Oops!
* Rename __stdio_close_all to __stdio_flush_buffers. Eliminate anEric Andersen2002-02-181-7/+5
| | | | unnecessary variable
* Doh!Eric Andersen2002-02-181-1/+1
|
* Miles Bader writes:Eric Andersen2002-02-181-1/+2
| | | | | | | | | | Programs that don't use stdio crash in the `exit' function, because they call through the pointer__uClibc_cleanup, which has a value of 0. It has a value of 0 because __uClibc_main.c initializes it to the address of `__stdio_close_all', which is a weak symbol (and so is 0 if stdio is not used). This patch from Miles fixes it, though we need to audit __stdio_close_all usage to be sure...
* A number of naming updates in preparation for adding inEric Andersen2002-02-131-23/+114
| | | | | proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me.
* Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.Eric Andersen2001-10-111-1/+2
| | | | He sent this patch to me a month ago, but I forgot to apply it...
* Update to accomodate the header file changesEric Andersen2001-09-271-0/+1
|
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-061-1/+1
| | | | | | | This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
* Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III2001-02-191-14/+26
| | | | | | | respective crt0.S. crt0.S should now only be responsible for setting things up to call __uClibc_main(argc, argv, envp), which will do any other necessary setup (setting global __environ, stdio init, etc), call main, and exit. This should ease both maintainance and porting.
* Revert stdio to initializing itself. Not quite a pretty but that ensures thatEric Andersen2001-02-091-3/+0
| | | | | | | we don't blow up by using too much stack space, and simplifies the job of supporting new architectures, since they don't have to mess with calling foo init functions in crt0 and cleaning up the resulting damage. -Erik
* Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III2001-01-251-32/+17
| | | | objects with shared uClibc; allow disabling long long support.
* Note about need to match _SC_ATEXIT_MAX. Minor macro name change.Manuel Novoa III2001-01-171-4/+9
|
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-111-58/+24
|
* Bug ugly formatting updateEric Andersen2000-10-091-59/+49
|
* Many bugfixes, header cleanups, etc. Added abort and glob.Eric Andersen2000-07-051-0/+1
| | | | | It is getting closer... -Erik
* Initial revision0_9_1Erik Andersen2000-05-141-0/+117