git: libc: Add posix_fadvise(), for now empty except for some error checking.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat May 4 13:21:51 PDT 2019
commit d60b58c88359cf8ba48202b23b9508c021ad74e7
Author: Sascha Wildner <saw at online.de>
Date: Sat May 4 22:20:02 2019 +0200
libc: Add posix_fadvise(), for now empty except for some error checking.
This should help some dports.
From POSIX' point of view this is sufficient because it is not
required that the implementation does anything with the passed
information.
The manual page was taken from FreeBSD.
Summary of changes:
lib/libc/stdlib/Makefile.inc | 7 +-
lib/libc/stdlib/Symbol.map | 1 +
lib/libc/stdlib/posix_fadvise.3 | 146 +++++++++++++++++++++
.../posix_fadvise.c} | 25 +++-
lib/libc/sys/madvise.2 | 5 +-
lib/liblzma/config.h | 2 +-
sys/sys/fcntl.h | 14 +-
7 files changed, 187 insertions(+), 13 deletions(-)
create mode 100644 lib/libc/stdlib/posix_fadvise.3
copy lib/libc/{gen/clock_getcpuclockid.c => stdlib/posix_fadvise.c} (71%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d60b58c88359cf8ba48202b23b9508c021ad74e7
--
DragonFly BSD source repository
More information about the Commits
mailing list