summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/exit.c
Commit message (Collapse)AuthorAgeFilesLines
* Reference an external variable in threaded programs so that thejb1998-04-291-0/+6
| | | | autoinitialiser gets linked in and therefore called before main().
* Add a global variable called __isthreaded that can be tested throughoutjb1998-04-111-0/+9
| | | | | | | | libc to determine if locking is required. This is needed in libc for use with kernel threads, but until a thread is created, we don't really want to bother locking things. The variable was added here because the crt code calls exit(main()) so all programs will get the variable.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+60
OpenPOWER on IntegriCloud