NetBSD/lib/libc/stdlib
jtc 43fa6fe319 If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
..
Makefile.inc Link rand_r(3) to rand(3). 1997-07-15 00:42:29 +00:00
_rand48.c Rename intenral _rand_foo variables to __rand_foo, as _rand_foo is in the 1993-10-14 00:34:17 +00:00
_strtoq.c Do the non-__indr_reference versions like the cat*(3) functions. 1997-07-17 21:15:33 +00:00
_strtouq.c Do the non-__indr_reference versions like the cat*(3) functions. 1997-07-17 21:15:33 +00:00
a64l.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
abort.3 xref exit(3) not exit(2) 1997-07-10 07:57:07 +00:00
abort.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
abs.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
abs.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
alloca.3 xref getpagesize(3) not nonexistent pagesize(2), sort xrefs 1997-07-15 07:03:25 +00:00
atexit.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
atexit.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
atexit.h Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
atof.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
atof.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
atoi.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
atoi.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
atol.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
atol.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
bsearch.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
bsearch.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
calloc.3 fix the the typos 1996-11-12 01:04:24 +00:00
calloc.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
div.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
div.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
drand48.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
erand48.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
exit.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
exit.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
free.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
getenv.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
getenv.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
getopt.3 optarg -> optstring and rewording from Brian Grayson in PR misc/3697. 1997-06-04 06:42:38 +00:00
getopt.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
heapsort.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
jrand48.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
l64a.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
labs.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
labs.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
lcong48.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
ldiv.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
ldiv.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
local.h Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
lrand48.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
malloc.3 xref getpagesize(3) not obsolete getpagesize(2), sort xrefs 1997-07-15 07:05:31 +00:00
malloc.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
memory.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
merge.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
mrand48.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
multibyte.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
nrand48.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
putenv.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
qabs.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
qabs.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
qdiv.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
qdiv.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
qsort.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
qsort.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
radixsort.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
radixsort.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
rand.3 Document rand_r(). 1997-07-15 00:42:01 +00:00
rand.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
rand48.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
rand48.h If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
rand_r.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
random.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
random.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
realloc.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
realpath.3 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree: 1997-05-29 01:48:05 +00:00
realpath.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
seed48.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
setenv.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
srand48.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
strtod.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
strtod.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
strtol.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
strtol.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
strtoq.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
strtoul.3 New-style RCS ids. 1995-12-28 08:51:55 +00:00
strtoul.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
strtouq.c Add local.h for local prototypes. 1997-07-13 20:16:31 +00:00
system.3 Fixed bad cross reference: waitpid(3) -> waitpid(2). 1996-02-16 22:30:46 +00:00
system.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00