NetBSD/lib/libc/stdlib
kleink 9e00e84f98 Restore the behaviour of not setting errno to ENOMEM when allocating 0
units of storage and returning a null pointer in System V mode; this was
broken by the `fix' in rev. 1.24.  Also, as it is stated in ISO C that
such operation does not constitute an allocation failure, do not abort()
even if the `X' option is set.

Amusingly enough the SVID, Fourth Edition, specifies the `unique pointer'
return behaviour for this kind of allocation, so this is kind of mis-named.
1999-09-10 10:38:06 +00:00
..
Lint_abs.c
Lint_div.c
Lint_labs.c
Lint_ldiv.c
Makefile.inc replace malloc(3) with one from freebsd which documents our new malloc.c 1999-08-02 03:18:46 +00:00
_rand48.c RCS Id Police. 1998-01-09 03:15:09 +00:00
_strtoq.c remove obsolete register declarations 1998-02-03 18:38:12 +00:00
_strtouq.c remove obsolete register declarations 1998-02-03 18:38:12 +00:00
a64l.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
a64l.c
abort.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
abort.c Exit via _exit() rather than exit(), as the latter would cause exit handlers 1998-10-12 15:56:16 +00:00
abs.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
abs.c update to lite-2 1998-01-30 23:37:40 +00:00
alloca.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
atexit.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
atexit.c Protect __atexit manipulation and traversal with a mutex. 1998-10-18 14:36:30 +00:00
atexit.h Add 3 additional slots to the statically allocated exit handler array to 1999-03-22 19:09:10 +00:00
atof.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
atof.c update to lite-2 1998-01-30 23:37:40 +00:00
atoi.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
atoi.c update to lite-2 1998-01-30 23:37:40 +00:00
atol.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
atol.c update to lite-2 1998-01-30 23:37:40 +00:00
bsearch.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
bsearch.c delint 1998-11-15 17:13:51 +00:00
calloc.c remove obsolete register declarations 1998-02-03 18:38:12 +00:00
div.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
div.c update to lite-2 1998-01-30 23:37:40 +00:00
drand48.c RCS Id Police. 1998-01-09 03:15:09 +00:00
erand48.c RCS Id Police. 1998-01-09 03:15:09 +00:00
exit.3 first pass at fixing up capitalization of function names and 1998-08-29 08:32:32 +00:00
exit.c Protect __atexit manipulation and traversal with a mutex. 1998-10-18 14:36:30 +00:00
getenv.3 Update standards section for putenv(). 1998-02-06 13:53:17 +00:00
getenv.c delint 1998-11-15 17:13:51 +00:00
getopt.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
getopt.c 1003.2-92 specifies the string "--" to be recognized as the option list 1999-01-09 20:31:07 +00:00
getopt_long.3 getopt long functionality 1999-07-23 03:55:27 +00:00
getopt_long.c getopt long functionality 1999-07-23 03:55:27 +00:00
getsubopt.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
getsubopt.c remove obsolete register declarations 1998-02-03 18:38:12 +00:00
heapsort.c remove obsolete register declarations 1998-02-03 18:38:12 +00:00
jrand48.c RCS Id Police. 1998-01-09 03:15:09 +00:00
l64a.c Add l64a_r(), a reentrant version of l64a(); found in the Multithreading 1999-02-06 15:04:05 +00:00
labs.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
labs.c update to lite-2 1998-01-30 23:37:40 +00:00
lcong48.c RCS Id Police. 1998-01-09 03:15:09 +00:00
ldiv.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
ldiv.c update to lite-2 1998-01-30 23:37:40 +00:00
local.h
lrand48.c delint 1998-11-15 17:13:51 +00:00
malloc.3 Restore the behaviour of not setting errno to ENOMEM when allocating 0 1999-09-10 10:38:06 +00:00
malloc.c Restore the behaviour of not setting errno to ENOMEM when allocating 0 1999-09-10 10:38:06 +00:00
memory.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
merge.c delint 1998-11-15 17:13:51 +00:00
mrand48.c RCS Id Police. 1998-01-09 03:15:09 +00:00
multibyte.c
nrand48.c delint 1998-11-15 17:13:51 +00:00
putenv.c update to lite-2 1998-01-30 23:37:40 +00:00
qabs.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
qabs.c
qdiv.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
qdiv.c
qsort.3 first pass at fixing up capitalization of function names and 1998-08-29 08:32:32 +00:00
qsort.c delint 1998-11-15 17:13:51 +00:00
radixsort.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
radixsort.c remove obsolete register declarations 1998-02-03 18:38:12 +00:00
rand.3 Principally, change foo(N) to .Xr foo N 1998-04-28 04:07:04 +00:00
rand.c delint 1998-11-15 17:13:51 +00:00
rand48.3 fix mdoc references and mistakes 1998-04-28 21:19:49 +00:00
rand48.h RCS Id Police. 1998-01-09 03:15:09 +00:00
rand_r.c
random.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
random.c delint 1998-11-15 17:13:51 +00:00
seed48.c RCS Id Police. 1998-01-09 03:15:09 +00:00
setenv.c delint 1998-11-15 17:13:51 +00:00
srand48.c delint 1998-11-15 17:13:51 +00:00
strtod.3 Add missing .El lines. 1999-03-09 19:45:09 +00:00
strtod.c Serialize freelist access with a mutex. 1999-02-06 16:01:22 +00:00
strtol.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
strtol.c delint 1998-11-15 17:13:51 +00:00
strtoq.c Make some needed weak aliases. 1999-08-17 03:58:39 +00:00
strtoul.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
strtoul.c delint 1998-11-15 17:13:51 +00:00
strtouq.c Make some needed weak aliases. 1999-08-17 03:58:39 +00:00
system.3 Fix typo noted by NAKAJIMA Yoshihiro in PR lib/7328. 1999-04-06 19:44:42 +00:00
system.c delint 1998-11-15 17:13:51 +00:00
tdelete.c t{search,find,walk,delete} from OpenBSD via Neil A. Carson 1999-02-22 10:33:15 +00:00
tfind.c t{search,find,walk,delete} from OpenBSD via Neil A. Carson 1999-02-22 10:33:15 +00:00
tsearch.3 t{search,find,walk,delete} from OpenBSD via Neil A. Carson 1999-02-22 10:33:15 +00:00
tsearch.c add a const castaway lint comment. 1999-05-03 15:34:05 +00:00
twalk.c t{search,find,walk,delete} from OpenBSD via Neil A. Carson 1999-02-22 10:33:15 +00:00