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 Changed name of __weak_reference() to __indr_reference(). They really 1995-03-23 19:58:48 +00:00
_sys_nerr.c Changed name of __weak_reference() to __indr_reference(). They really 1995-03-23 19:58:48 +00:00
_sys_siglist.c Changed name of __weak_reference() to __indr_reference(). They really 1995-03-23 19:58:48 +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
_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 merge with Lite, keep local changes. clean up id usage 1995-02-25 15:39:01 +00:00
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 clean up Id's on files previously imported... 1995-02-25 08:50:56 +00:00
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 merge with Lite, keep local changes. clean up id usage 1995-02-25 15:39:01 +00:00
ctype_.c Fix RCSID's 1997-07-13 19:45:36 +00:00
daemon.3 update to 4.4-Lite where appropriate, clean up Id format, etc. 1995-02-25 13:40:51 +00:00
daemon.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
devname.3 merge with Lite, keeping local changes. Also use new Id format. 1995-02-27 03:42:42 +00:00
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 merge with Lite, keeping local changes. Also use new Id format. 1995-02-27 03:42:42 +00:00
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 merge with Lite, keeping local changes. Also use new Id format. 1995-02-27 03:42:42 +00:00
fstab.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
ftok.3 merge with Lite, keeping local changes. Also use new Id format. 1995-02-27 03:42:42 +00:00
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 update to 4.4-Lite where appropriate, clean up Id format, etc. 1995-02-25 13:40:51 +00:00
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 stdio.h -> unistd.h 1995-07-30 06:05:35 +00:00
getcwd.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getdiskbyname.3 update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +00:00
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 update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +00:00
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 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS 1995-10-12 15:39:23 +00:00
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 update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +00:00
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 update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +00:00
getpagesize.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getpass.3 update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +00:00
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 update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +00:00
getsubopt.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getttyent.3 Add missing documentation for TTY_MDMBUF. 1996-03-17 19:36:53 +00:00
getttyent.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
getusershell.3 update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +00:00
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 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS 1995-10-12 15:39:23 +00:00
initgroups.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
isalnum.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:25 +00:00
isalpha.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:25 +00:00
isascii.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:25 +00:00
isatty.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
isblank.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:25 +00:00
iscntrl.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:25 +00:00
isctype.c Fix RCSID's 1997-07-13 19:45:36 +00:00
isdigit.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
isgraph.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
isinf.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
islower.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
isprint.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
ispunct.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
isspace.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
isupper.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
isxdigit.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
ldexp.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
modf.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
nice.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
nice.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
nlist.3 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
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 clean up Id's on files previously imported... 1995-02-25 08:50:56 +00:00
popen.c If port provides __weak_alias(), provide an Standard C and POSIX pure 1997-07-21 14:06:24 +00:00
psignal.3 add setlocale(3) and strsignal(3) cross references 1995-07-03 22:48:08 +00:00
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 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
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 clean up Id's on files previously imported... 1995-02-25 08:50:56 +00:00
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 merge with 4.4-Lite, keeping local changes. clean up Ids 1995-02-27 05:50:11 +00:00
setjmperr.c Fix RCSID's 1997-07-13 19:45:36 +00:00
setmode.3 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS 1995-10-12 15:39:23 +00:00
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 Changed signal prototype to be more like ANSI C 1996-03-26 02:05:55 +00:00
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 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS 1995-10-12 15:39:23 +00:00
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 merge with Lite, keep local changes. clean up id usage 1995-02-25 15:39:01 +00:00
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