diff options
Diffstat (limited to 'lib/libc/gen/pmadvise.c')
-rw-r--r-- | lib/libc/gen/pmadvise.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libc/gen/pmadvise.c b/lib/libc/gen/pmadvise.c new file mode 100644 index 0000000..4024d64 --- /dev/null +++ b/lib/libc/gen/pmadvise.c @@ -0,0 +1,16 @@ +/* + * The contents of this file are in the public domain. + * Written by Garrett A. Wollman, 2000-10-07. + * + */ + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + +#include <sys/mman.h> + +int +(posix_madvise)(void *address, size_t size, int how) +{ + return posix_madvise(address, size, how); +} |