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