freebsd-dev/lib/libc/gen
Peter Wemm 4dd719bd7f Change the C wrappers for mmap/lseek/pread/pwrite/truncate/ftruncate to
call the pad-less versions of the corresponding syscalls if the running
kernel supports it.  Check kern.osreldate once per program and cache the
result to select the appropriate syscall.  This maintains userland
compatability with kernel.old's from quite a while back.

Approved by:  re (kensmith)
2007-07-04 23:27:38 +00:00
..
__getosreldate.c Change the C wrappers for mmap/lseek/pread/pwrite/truncate/ftruncate to 2007-07-04 23:27:38 +00:00
__xuname.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
_pthread_stubs.c Add some more pthread stubs so that librt can use them. 2006-03-05 18:10:28 +00:00
_rand48.c
_spinlock_stub.c Remove 3rd clause, renumber, ok per email 2007-01-12 07:31:30 +00:00
_thread_init.c
alarm.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
alarm.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
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 ANSIfy function definitions, reduces diff against OpenBSD. 2007-05-25 10:40:33 +00:00
assert.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
basename.3 More accurately document the implementation details of internal storage. 2006-10-12 14:31:17 +00:00
basename.c
check_utility_compat.3 Sort sections. 2005-01-20 09:17:07 +00:00
check_utility_compat.c
clock.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
clock.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
closedir.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
confstr.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
confstr.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
crypt.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ctermid.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ctermid.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
daemon.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
daemon.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
devname.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
devname.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
directory.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
dirname.3 More accurately document the implementation details of internal storage. 2006-10-12 14:31:17 +00:00
dirname.c
disklabel.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
dladdr.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
dlfcn.c Add stub for dl_iterate_phdr. 2007-04-03 18:35:20 +00:00
dlfunc.c
dlinfo.3 Sort sections. 2005-01-20 09:17:07 +00:00
dllockinit.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
dlopen.3 Fix the ordering in the description of the dlsym() lookup procedure to 2004-06-03 10:13:26 +00:00
drand48.c
erand48.c
err.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
err.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
errlst.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
errno.c
exec.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
exec.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
fmtcheck.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
fmtcheck.c Teach fmtcheck() about the ' (thousands separator) flag. 2005-03-21 08:00:55 +00:00
fmtmsg.3
fmtmsg.c
fnmatch.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
fnmatch.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
fpclassify.3 - Move the functions presently described in in ieee(3) to their own 2005-01-27 05:46:17 +00:00
fpclassify.c Update my email address. 2005-02-06 03:23:31 +00:00
frexp.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
frexp.c Replace seven nominally MD implementations of frexp() that are broken 2004-07-18 21:23:39 +00:00
fstab.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ftok.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
ftok.c Change the signature of ftok from (const char *, char) to (const char *, int) 2004-06-01 06:53:07 +00:00
fts-compat.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
fts-compat.h Introduce new field 'fts_bignum' which is 64bit long and will allow to 2005-01-07 00:06:20 +00:00
fts.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
fts.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ftw.3 Make SYNOPSIS compile. 2005-11-23 15:41:36 +00:00
ftw.c Replace the current implementations of ftw() and nftw() with the OpenBSD 2004-08-24 13:00:55 +00:00
getbootfile.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getbootfile.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getbsize.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getbsize.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getcap.3 o s/cgetseq/cgetset/ 2007-02-11 18:14:49 +00:00
getcap.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getcontext.3 Fix description: the argument to setcontext(3) must have been previously 2004-12-03 14:10:04 +00:00
getcwd.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getcwd.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getdiskbyname.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getdomainname.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getdomainname.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getfsent.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getgrent.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getgrent.c o Don't fseek() on closed file. 2006-09-18 09:34:48 +00:00
getgrouplist.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getgrouplist.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
gethostname.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
gethostname.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getloadavg.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getloadavg.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getlogin.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getmntinfo.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getmntinfo.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getnetgrent.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getnetgrent.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getosreldate.3 Switch BUILD_ARCH in Makefile to use uname -p suggested by ru. 2005-12-03 05:11:07 +00:00
getosreldate.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getpagesize.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getpagesize.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getpass.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getpeereid.3
getpeereid.c
getprogname.3
getprogname.c
getpwent.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getpwent.c - Extend the nsswitch to support Services, Protocols and Rpc 2006-04-28 12:03:38 +00:00
getttyent.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getttyent.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getusershell.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getusershell.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getvfsbyname.3 Bump date. 2007-04-05 21:17:52 +00:00
getvfsbyname.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
glob.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
glob.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
initgroups.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
initgroups.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
isatty.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
isgreater.3 Update my email address. 2005-02-06 03:23:31 +00:00
isinf.c Unbreak alpha: On alpha a long double is the same as a double and 2004-07-10 15:52:26 +00:00
isnan.c Remove __isnanl() to avoid conflicting with the same function in libm. 2004-09-24 06:33:22 +00:00
jrand48.c
lcong48.c
ldexp.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ldexp.c Replace the ldexp() implementation in libc with a renamed copy of the 2005-01-22 06:03:40 +00:00
lockf.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
lockf.c
lrand48.c
makecontext.3
Makefile.inc Change the C wrappers for mmap/lseek/pread/pwrite/truncate/ftruncate to 2007-07-04 23:27:38 +00:00
modf.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
mrand48.c
msgctl.3 o It speaks about struct msqid_ds not struct shmid_ds. 2006-08-09 18:05:44 +00:00
msgget.3
msgrcv.3 When IPC_NOWAIT is set and there is no message, msgrcv() fails 2005-06-14 10:56:02 +00:00
msgsnd.3 Document what "msgsz" argument really denotes. [1] 2006-10-12 11:42:41 +00:00
nftw.c Replace the current implementations of ftw() and nftw() with the OpenBSD 2004-08-24 13:00:55 +00:00
nice.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
nice.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
nlist.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
nlist.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
nrand48.c
opendir.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
pause.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
pause.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
pmadvise.c Add the POSIX 1003.1-2001 posix_madvise() interface. 2003-08-09 03:23:24 +00:00
popen.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
popen.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
posixshm.c
pselect.3
pselect.c
psignal.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
psignal.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
pw_scan.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
pw_scan.h Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
pwcache.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
pwcache.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
raise.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
raise.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
rand48.3 Sort sections. 2005-01-20 09:17:07 +00:00
rand48.h
readdir.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
readpassphrase.3 Sort sections. 2005-01-20 09:17:07 +00:00
readpassphrase.c
rewinddir.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
rfork_thread.3
scandir.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
scandir.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
seed48.c
seekdir.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sem_destroy.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_getvalue.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_init.3 Cross-reference sem_getvalue(3) from several other semaphore-related 2005-07-13 13:15:22 +00:00
sem_open.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_post.3 Cross-reference sem_getvalue(3) from several other semaphore-related 2005-07-13 13:15:22 +00:00
sem_wait.3 Cross-reference sem_getvalue(3) from several other semaphore-related 2005-07-13 13:15:22 +00:00
sem.c Make __sem_timedwait() consistent with the sem_timedwait() prototype. 2005-10-18 17:24:03 +00:00
semctl.c
setdomainname.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sethostname.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
setjmp.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
setjmperr.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
setmode.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
setmode.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
setproctitle.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
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 Sort sections. 2005-01-20 09:17:07 +00:00
siginterrupt.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
siginterrupt.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
siglist.c o Remove duplicate includes. 2007-01-20 08:24:02 +00:00
signal.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
signal.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sigsetops.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sigsetops.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sleep.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sleep.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
srand48.c
statvfs.3
statvfs.c
stringlist.3 Expand contractions. 2005-02-13 23:45:54 +00:00
stringlist.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strtofflags.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strtofflags.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
swapcontext.c
Symbol.map Some libc symbol map cleanups. 2007-05-31 13:01:34 +00:00
sysconf.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sysconf.c Cleanup sysconf(3) a bit. sysconf(3) assumes in some places it operates 2007-04-14 13:06:57 +00:00
sysctl.3 Expand the description of the host's UUID. 2007-04-10 11:19:52 +00:00
sysctl.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sysctlbyname.c
sysctlnametomib.c
syslog.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
syslog.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
tcgetpgrp.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
tcsendbreak.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
tcsetattr.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
tcsetpgrp.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
telldir.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
telldir.h
termios.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
time.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
time.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
times.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
times.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
timezone.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
timezone.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
tls.c Don't assert() the TLS allocation requested is big enough; just 2007-02-25 21:23:50 +00:00
ttyname.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ttyname.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ttyslot.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
tzset.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ualarm.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ualarm.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ucontext.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
ulimit.3
ulimit.c
uname.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
uname.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
unvis.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
unvis.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
usleep.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
usleep.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
utime.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
utime.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
valloc.3 Change macro in order to refer to FreeBSD 7.0 instead of 7.0BSD. 2007-03-28 18:55:44 +00:00
valloc.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
vis.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
vis.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wait3.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wait.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
waitpid.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wordexp.3 Correct usage example. 2006-04-18 21:37:24 +00:00
wordexp.c Fix typo: WRDE_DOOFS -> WRDE_DOOFFS. 2004-06-30 13:55:08 +00:00