freebsd-dev/lib/libc/gen
Garrett Wollman 89a26fd1fc Add a kluge suggested by Marcel to paper over the difference between
gethostname()'s old and new signatures without requiring a library
bump.  Note that programs which called gethostname() with a negative
argument were already broken, since the same type conversion was done
by the old implementation.  Add a note in the Makefile so that whoever
next bumps the libc revision will delete the kluge at the same time
(as it will no longer be necessary).  This is only operative on 64-bit
platforms.

Submitted by:	marcel
2003-08-19 23:01:46 +00:00
..
__xuname.c
_pthread_stubs.c
_rand48.c
_spinlock_stub.c - Define a _spinunlock() function so that threading implementations may do 2003-03-26 04:02:24 +00:00
_thread_init.c
alarm.3
alarm.c
arc4random.3 The upper end of the range of arc4random(3) is 2**32-1, not 2**31-1. 2003-07-31 06:18:24 +00:00
arc4random.c
assert.c
basename.3
basename.c
check_utility_compat.3
check_utility_compat.c Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
clock.3
clock.c
closedir.c
confstr.3
confstr.c Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
crypt.c
ctermid.3
ctermid.c
daemon.3
daemon.c
devname.3 Add devname_r(3) which takes a buffer as argument. 2003-06-20 09:52:27 +00:00
devname.c Add devname_r(3) which takes a buffer as argument. 2003-06-20 09:52:27 +00:00
directory.3
dirname.3
dirname.c
disklabel.c
dladdr.3
dlfcn.c Add an stub for _rtld_thread_init. This is a part I missed in 2003-05-30 00:58:37 +00:00
dlfunc.c
dlinfo.3 Assorted mdoc(7) fixes. 2003-06-01 19:19:59 +00:00
dllockinit.3
dlopen.3 Mention that dlerror() is also applicable to retrieve error message after 2003-02-21 13:43:41 +00:00
drand48.c
erand48.c
err.3
err.c
errlst.c
errno.c
exec.3 With the latest mdoc(7), we can now fix the synopsis like this. 2003-07-03 18:14:39 +00:00
exec.c Fixed some style bugs. 2003-07-01 12:30:03 +00:00
fmtcheck.3
fmtcheck.c Teach fmtcheck(3) about the flags a, A, F, G, t, and z. 2003-06-29 01:11:31 +00:00
fmtmsg.3
fmtmsg.c Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
fnmatch.3
fnmatch.c
fpclassify.3 Assorted mdoc(7) fixes. 2003-06-01 19:19:59 +00:00
fpclassify.c
frexp.3
fstab.c - Add setfstab() and getfstab(). 2003-04-07 12:55:00 +00:00
ftok.3
ftok.c
fts-compat.c
fts-compat.h
fts.3 Match style of source and headers. 2003-06-01 21:35:27 +00:00
fts.c
getbootfile.3
getbootfile.c Return "/boot/kernel/kernel" instead of "/kernel" if the sysctl() call 2003-04-11 13:54:28 +00:00
getbsize.3
getbsize.c
getcap.3
getcap.c
getcontext.3
getcwd.3
getcwd.c
getdiskbyname.3
getdomainname.3 Apple PR-2449102: getdomainname() doesn't document that it is NIS/YP specific 2003-02-22 19:02:23 +00:00
getdomainname.c
getfsent.3 Assorted mdoc(7) fixes. 2003-05-22 13:02:28 +00:00
getgrent.3 = Implement thread-safe versions of the getpwent(3) and getgrent(3) 2003-04-17 14:15:26 +00:00
getgrent.c Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
getgrouplist.3
getgrouplist.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
gethostname.3 Change gethostname() to set errno to ENAMETOOLONG instead of ENOMEM 2003-08-19 20:38:44 +00:00
gethostname.c Add a kluge suggested by Marcel to paper over the difference between 2003-08-19 23:01:46 +00:00
getloadavg.3
getloadavg.c
getlogin.c
getmntinfo.3
getmntinfo.c
getnetgrent.3
getnetgrent.c
getobjformat.3
getobjformat.c
getosreldate.3 Fixed copyright. 2003-02-24 22:55:33 +00:00
getosreldate.c
getpagesize.3
getpagesize.c
getpass.3
getpeereid.3
getpeereid.c
getprogname.3
getprogname.c
getpwent.3 Add or correct section number in .Xr. Use .Vt or .Fn 2003-06-08 10:01:52 +00:00
getpwent.c Revert to using yp_order() to probe for master.paswd.by* maps and 2003-07-18 23:51:15 +00:00
getttyent.3
getttyent.c
getusershell.3
getusershell.c Catch up with nsdispatch.c: nsdispatch(3) is now `hidden' by 2003-04-24 20:16:21 +00:00
getvfsbyname.3
getvfsbyname.c
getvfsent.3
getvfsent.c
glob.3
glob.c
initgroups.3
initgroups.c
isatty.c
isgreater.3 Assorted mdoc(7) fixes. 2003-06-01 19:19:59 +00:00
jrand48.c
lcong48.c
ldexp.3
lockf.3
lockf.c
lrand48.c
makecontext.3
Makefile.inc Add the POSIX 1003.1-2001 posix_madvise() interface. 2003-08-09 03:23:24 +00:00
modf.3
mrand48.c
msgctl.3
msgget.3
msgrcv.3
msgsnd.3
nice.3
nice.c
nlist.3
nlist.c Eliminate 19 warnings in libc (at level WARNS=2) of the 2003-02-27 13:40:01 +00:00
nrand48.c
ntp_gettime.c
opendir.c Catch up with the renaming of the "union" filesystem to "unionfs". 2003-05-16 02:15:07 +00:00
pause.3
pause.c
pmadvise.c Add the POSIX 1003.1-2001 posix_madvise() interface. 2003-08-09 03:23:24 +00:00
popen.3 Add or correct section number in .Xr. Use .Vt or .Fn 2003-06-08 10:01:52 +00:00
popen.c
posixshm.c
pselect.3
pselect.c
psignal.3
psignal.c
pw_scan.c
pw_scan.h
pwcache.3
pwcache.c
raise.3
raise.c Make raise and _raise as weak symbols, so they can be overriden by 2003-07-19 05:22:56 +00:00
rand48.3
rand48.h
readdir.c
readpassphrase.3
readpassphrase.c
rewinddir.c
rfork_thread.3 Replace the return value of rfork_thread(3) in its manual page 2003-04-27 21:07:27 +00:00
scandir.3
scandir.c
seed48.c
seekdir.c
sem_destroy.3 The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
sem_getvalue.3 The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
sem_init.3 The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
sem_open.3 mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
sem_post.3 The .Fn function 2003-06-08 10:13:50 +00:00
sem_wait.3 The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
sem.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
semctl.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
setdomainname.c
sethostname.c
setjmp.3
setjmperr.c
setmode.3
setmode.c More changes from NetBSD: 2003-02-23 00:24:03 +00:00
setproctitle.3
setproctitle.c Don't segfault if setproctitle(3) is called with NULL initially. 2003-07-01 09:45:35 +00:00
setprogname.c
shm_open.3
siginterrupt.3
siginterrupt.c
siglist.c
signal.3
signal.c
signbit.3 mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
signbit.c Implement C99's signbit() macro. 2003-02-11 21:56:21 +00:00
sigsetops.3 Supplement the cross-references section with those to sigpending(2) 2003-06-24 15:27:31 +00:00
sigsetops.c
sleep.3
sleep.c
srand48.c
statvfs.3 Add or correct section number in .Xr. Use .Vt or .Fn 2003-06-08 10:01:52 +00:00
statvfs.c
stringlist.3 mdoc(7) police: markup laundry. 2003-02-23 01:47:49 +00:00
stringlist.c
strtofflags.3
strtofflags.c
swapcontext.c
sysconf.3
sysconf.c
sysctl.3
sysctl.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
sysctlbyname.c
sysctlnametomib.c
syslog.3
syslog.c
tcgetpgrp.3
tcsendbreak.3
tcsetattr.3
tcsetpgrp.3
telldir.c
telldir.h
termios.c
time.3 Rewrite to reflect slight change in semantics for C99, and note a bug 2003-07-19 03:19:59 +00:00
time.c C99 compliance: time() always sets its return value in both places 2003-07-19 02:53:46 +00:00
times.3
times.c
timezone.3
timezone.c
ttyname.3
ttyname.c Don't statically initialize buf to _PATH_DEV, _PATH_DEV always copied to 2003-06-24 22:20:06 +00:00
ttyslot.c
tzset.3 Add or correct section number in .Xr. Use .Vt or .Fn 2003-06-08 10:01:52 +00:00
ualarm.3
ualarm.c
ucontext.3
ulimit.3
ulimit.c
uname.3
uname.c
unvis.3
unvis.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
usleep.3
usleep.c
utime.3
utime.c
valloc.3
valloc.c
vis.3
vis.c
wait3.c
wait.c
waitpid.c
wordexp.3 Assorted mdoc(7) fixes. 2003-06-01 19:19:59 +00:00
wordexp.c