summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/__getosreldate.c
Commit message (Collapse)AuthorAgeFilesLines
* Change the C wrappers for mmap/lseek/pread/pwrite/truncate/ftruncate topeter2007-07-041-0/+61
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)
OpenPOWER on IntegriCloud