NetBSD/lib/libc/gen
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 add toascii(3) 1997-07-16 06:22:07 +00:00
_err.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
_errno.c Move the #undef errno where it is actually needed. 1997-07-13 18:53:13 +00:00
_errx.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
_sys_errlist.c
_sys_nerr.c
_sys_siglist.c
_verr.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
_verrx.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
_vwarn.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
_vwarnx.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
_warn.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
_warnx.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
alarm.3 change sigpause(2) to sigsuspend(2) or sigpause(3), depending 1997-01-17 03:44:59 +00:00
alarm.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
assert.c Fix RCSID's 1997-07-13 19:45:36 +00:00
clock.3
clock.c Fix RCSID's 1997-07-13 19:45:36 +00:00
closedir.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
confstr.3
confstr.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
ctermid.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
ctermid.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
ctype.3
ctype_.c Fix RCSID's 1997-07-13 19:45:36 +00:00
daemon.3
daemon.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
devname.3
devname.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
directory.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
disklabel.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
err.3 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree: 1997-05-29 01:48:05 +00:00
err.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
errlist.c Fix RCSID's 1997-07-13 19:45:36 +00:00
errno.c
errx.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
exec.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
execl.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
execle.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
execlp.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
execv.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
execvp.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
fnmatch.3 Add `glob' to the brief description to make this easier to find when 1997-04-23 07:14:51 +00:00
fnmatch.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
frexp.3
fstab.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
ftok.3
ftok.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
fts.3 fix type of fts_open() argument; from Enami Tsugutomo in PR lib/3368. 1997-03-21 05:31:21 +00:00
fts.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getbsize.3
getbsize.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getcap.3 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree: 1997-05-29 01:48:05 +00:00
getcap.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getcwd.3
getcwd.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getdiskbyname.3
getdomainname.3 there is no sysctl(2); reference sysctl(3) instead. 1997-01-03 06:43:56 +00:00
getdomainname.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getfsent.3
getgrent.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
getgrent.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getgrouplist.3
getgrouplist.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
gethostname.3 Add proper punctuation; Reported by Mike Long <mike.long@analog.com> in PR #2302. 1996-04-08 20:56:38 +00:00
gethostname.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getloadavg.3 there is no sysctl(2); reference sysctl(3) instead. 1997-01-03 06:43:56 +00:00
getloadavg.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getlogin.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getmntinfo.3
getmntinfo.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getnetgrent.3 cleanup some problems with the use of mandoc macros 1997-05-26 14:02:53 +00:00
getnetgrent.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getpagesize.3
getpagesize.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getpass.3
getpass.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getpwent.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
getpwent.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getsubopt.3
getsubopt.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getttyent.3
getttyent.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getusershell.3
getusershell.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
glob.3 fix a couple of typesetting and grammatical errors in GLOB_BRACE's description 1996-04-19 00:12:16 +00:00
glob.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
initgroups.3
initgroups.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
isalnum.3
isalpha.3
isascii.3
isatty.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
isblank.3
iscntrl.3
isctype.c Fix RCSID's 1997-07-13 19:45:36 +00:00
isdigit.3
isgraph.3
isinf.3
islower.3
isprint.3
ispunct.3
isspace.3
isupper.3
isxdigit.3
ldexp.3
modf.3
nice.3
nice.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
nlist.3
nlist.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
nlist_aout.c Fix RCSID's 1997-07-13 19:45:36 +00:00
nlist_ecoff.c Fix RCSID's 1997-07-13 19:45:36 +00:00
nlist_elf32.c - Don't deref a bad pointer in the event the object has no symbol 1997-07-17 00:54:27 +00:00
nlist_elf64.c Fix RCSID's 1997-07-13 19:45:36 +00:00
nlist_private.h MIPS: a.out, ecoff, and elf nlist support 1997-03-29 21:02:47 +00:00
opendir.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
pause.3 Add/update 1003.1 conformance notice. 1997-05-16 16:03:53 +00:00
pause.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
popen.3
popen.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
psignal.3
psignal.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
pwcache.3 Close PR 2376 1996-05-06 13:45:44 +00:00
pwcache.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
raise.3
raise.c Fix RCSID's 1997-07-13 19:45:36 +00:00
readdir.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +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
rewinddir.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
scandir.3
scandir.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
seekdir.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
setdomainname.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
sethostname.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
setjmp.3
setjmperr.c Fix RCSID's 1997-07-13 19:45:36 +00:00
setmode.3
setmode.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
setproctitle.3 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree: 1997-05-29 01:48:05 +00:00
setproctitle.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
siginterrupt.3 change sigpause(2) to sigsuspend(2) or sigpause(3), depending 1997-01-17 03:44:59 +00:00
siginterrupt.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
siglist.c Fix RCSID's 1997-07-13 19:45:36 +00:00
signal.3
signal.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
signame.c Fix RCSID's 1997-07-13 19:45:36 +00:00
sigsetops.3 Add/update 1003.1 conformance notice. 1997-05-16 16:03:53 +00:00
sigsetops.c Fix RCSID's 1997-07-13 19:45:36 +00:00
sleep.3 Implement sleep() and usleep() in terms of nanosleep(). Uses only one 1997-07-19 02:42:30 +00:00
sleep.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
stringlist.3 Fixed a typo and a .Os mistake. 1997-04-09 08:59:25 +00:00
stringlist.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
sysconf.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
sysconf.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
sysctl.3 Update the manpage for HW_MACHINE_ARCH. 1997-06-06 23:24:00 +00:00
sysctl.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
syslog.3 alternate -> alternative, per PR 2643 1997-03-08 13:36:38 +00:00
syslog.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
telldir.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
time.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
time.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
times.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
times.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
timezone.3 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree: 1997-05-29 01:48:05 +00:00
timezone.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
toascii.3 add NetBSD RCSid 1997-07-16 06:20:20 +00:00
tolower.3 Add a missing comma. 1997-05-31 21:34:25 +00:00
tolower_.c Fix RCSID's 1997-07-13 19:45:36 +00:00
toupper.3 Add a missing comma. 1997-05-31 21:34:25 +00:00
toupper_.c Fix RCSID's 1997-07-13 19:45:36 +00:00
ttyname.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
ttyname.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
ttyslot.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
ualarm.3 change sigpause(2) to sigsuspend(2) or sigpause(3), depending 1997-01-17 03:44:59 +00:00
ualarm.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
uname.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
uname.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
unvis.3
unvis.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
usleep.3 Implement sleep() and usleep() in terms of nanosleep(). Uses only one 1997-07-19 02:42:30 +00:00
usleep.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
utime.3 Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION 1997-07-14 23:19:39 +00:00
utime.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
valloc.3
valloc.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
verr.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
verrx.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
vis.3 comprised -> composed. Closes PR 2345. 1996-04-23 05:18:06 +00:00
vis.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
vwarn.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
vwarnx.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
wait.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
wait3.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
waitpid.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
warn.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00
warnx.c "Fix" the non-__indr_reference verions of the user-callable versions 1997-07-17 21:33:14 +00:00