NetBSD/lib/libc/stdlib
joerg 8409cf4a20 Hook up proper fork lock handling for malloc:
- lock all relevant mutexes just before fork
- unlock all mutexes just after fork in the parent
- full reinit non-spinlocks in the child
This is not using the normal pthread_atfork interface to ensure order of
operation, malloc is used as implementation detail too often.
2020-05-15 14:37:21 +00:00
..
Lint_abs.c
Lint_div.c
Lint_imaxabs.c
Lint_labs.c
Lint_ldiv.c
Lint_llabs.c
Makefile.inc Hook for jemalloc 2019-03-04 17:30:33 +00:00
_env.c Avoid NULL pointer arithmetics on environ 2020-02-22 10:05:12 +00:00
_rand48.c Change the previous cast from unsigned int to unsigned long 2020-02-23 09:53:42 +00:00
a64l.3
a64l.c
abort.3
abort.c
abs.3
abs.c
aligned_alloc.c C17 conformance: aligned_alloc's size doesn't need to be a multiple of 2018-07-27 13:08:47 +00:00
alloca.3 Whitespace improvements. 2012-10-24 22:56:27 +00:00
at_quick_exit.3 Bump date for adding the function to NetBSD. Fix xref. 2013-04-26 19:37:18 +00:00
atexit.3 Add commas in list. 2013-04-26 19:37:04 +00:00
atexit.c Assert that __cxa_atexit is not used with NULL as DSO. Don't use 2017-11-06 14:26:03 +00:00
atof.3
atof.c
atoi.3 libc: remove explicit cast NULL in atoi 2018-06-13 09:38:32 +00:00
atoi.c libc: remove explicit cast NULL in atoi 2018-06-13 09:38:32 +00:00
atol.3
atol.c
atoll.3
atoll.c
bsearch.3
bsearch.c
cxa_thread_atexit.c Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This 2017-07-11 15:21:31 +00:00
div.3 Fix typo 2016-12-17 06:17:16 +00:00
div.c
drand48.c
erand48.c
erand48_ieee754.c
exit.3 Document history 2019-09-01 19:37:21 +00:00
exit.c Drop TLS variant checks, emutls is enough for VAX and Sun2. 2017-07-14 19:24:52 +00:00
getenv.3
getenv.c Fix non _REENTRANT build. 2015-01-20 18:31:24 +00:00
getopt.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
getopt.c Bring getopt(3) inline with getopt_long(3): recognize option:: as an optional 2014-06-05 22:00:22 +00:00
getopt_long.3 fix grammar. 2018-12-09 20:29:53 +00:00
getopt_long.c ANSIfy getopt(3) - this is the REPLACE_GETOPT version from getopt_long(3) 2015-09-01 19:39:57 +00:00
getsubopt.3 PR standards/53525: move getsubopt to stdlib.h 2018-08-15 10:49:47 +00:00
getsubopt.c Allow being compiled as a tool. 2018-08-30 12:06:06 +00:00
grantpt.3
hcreate.3 PR/51958: Ngie Cooper: ESRCH error description in hcreate(3) contains typo 2017-02-07 22:25:25 +00:00
hcreate.c amend the new destroy function to take function pointers. 2014-07-20 20:17:21 +00:00
imaxabs.c
imaxdiv.c
insque.3
insque.c
jemalloc.3 Add malloc.conf to the NAME section 2017-10-25 17:09:47 +00:00
jemalloc.c Hook up proper fork lock handling for malloc: 2020-05-15 14:37:21 +00:00
jrand48.c Reduce amount of casts and make LP64 safe. 2013-10-22 08:08:51 +00:00
l64a.c
labs.c
lcong48.c
ldiv.c
llabs.c
lldiv.c
local.h
lrand48.c Reduce amount of casts and make LP64 safe. 2013-10-22 08:08:51 +00:00
lsearch.3
lsearch.c
malloc.3 Fix manually applied patch. Mark up NULL with Dv. 2016-06-01 08:32:05 +00:00
malloc.c Hook up proper fork lock handling for malloc: 2020-05-15 14:37:21 +00:00
memory.3 Clean up the NAME section. 2017-04-26 07:40:09 +00:00
merge.c Simplify to avoid pointless null pointer arithmetic. 2018-05-23 21:21:27 +00:00
mi_vector_hash.3
mrand48.c Reduce amount of casts and make LP64 safe. 2013-10-22 08:08:51 +00:00
nrand48.c Reduce amount of casts and make LP64 safe. 2013-10-22 08:08:51 +00:00
posix_memalign.3 Fix manpage due to updated aligned_alloc behavior 2019-12-06 16:19:32 +00:00
posix_openpt.3
posix_openpt.c
ptsname.3 Fix typos, as reported by Eitan Adler. Update dates. 2018-02-07 11:16:05 +00:00
pty.c return the same errors as linux for ptsname_r 2014-01-08 02:17:30 +00:00
putenv.c Fix non _REENTRANT build. 2015-01-20 18:31:24 +00:00
qabs.3
qabs.c
qdiv.3
qdiv.c
qsort.3 Sort sections. From Henning Petersen in PR 49222. 2014-09-19 16:02:58 +00:00
qsort.c The BSD qsort() performs tail recursion elimination on the second 2017-05-19 19:48:19 +00:00
quick_exit.3 From Timo Buhrmester: Fix wrong parameter description 2015-07-26 17:03:06 +00:00
quick_exit.c add {at_,}quick_exit(3) from FreeBSD 2013-04-26 18:29:55 +00:00
radixsort.3
radixsort.c
rand.3
rand.c
rand48.3 Reorder words to fix grammar 2020-02-22 13:20:21 +00:00
rand48.h
rand_r.c
random.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
reallocarr.3 Compatibility fixes in reallocarr(3) 2015-07-28 17:13:34 +00:00
reallocarr.c Minor alterations to reallocarr(3) 2015-08-20 22:27:49 +00:00
reallocarray.3 Add license header (the NetBSD 2-clause version) with (C) TNF 2015-07-26 02:29:44 +00:00
reallocarray.c Add bunch of missing includes of namespace.h in libc 2018-01-04 20:57:28 +00:00
remque.c
seed48.c
setenv.c Fix non _REENTRANT build. 2015-01-20 18:31:24 +00:00
srand48.c
strfmon.3 Fix obvious typo (cut&pasto or whatever) - there's only one value that 2017-12-07 22:19:17 +00:00
strfmon.c use calloc rather than malloc + memset 0 2017-11-27 23:54:28 +00:00
strsuftoll.3
strsuftoll.c
strtod.3 Use the keywords `underflow' and `overflow' in ERANGE summary. 2016-11-07 21:52:36 +00:00
strtoi.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
strtol.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
strtol.c
strtonum.3 Fix date. Sort section. Sort errors. Sort SEE ALSO. Break too long 2015-01-19 11:47:41 +00:00
strtonum.c Correct handling of minval > maxval in strtonum(3) 2018-12-06 06:29:56 +00:00
strtoq.c
strtou.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
strtoul.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
strtouq.c
system.3
system.c Fix non _REENTRANT build. 2015-01-20 18:31:24 +00:00
tdelete.c Don't return NULL when we are freeing the root node; return a free'd pointer 2016-01-20 20:47:41 +00:00
tfind.c
tsearch.3
tsearch.c
twalk.c
unlockpt.3
unsetenv.c Fix non _REENTRANT build. 2015-01-20 18:31:24 +00:00