diff options
author | bms <bms@FreeBSD.org> | 2003-08-09 03:23:24 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2003-08-09 03:23:24 +0000 |
commit | 5b3e496d6a0a70427a87083bee63722122ed9701 (patch) | |
tree | 9bd2e3958aed729b89eb0f7c0b3fb003f049354c /lib/libc/gen/pmadvise.c | |
parent | 5d2c6e8c37e32d5a6ba172b69829289710aaccfa (diff) | |
download | FreeBSD-src-5b3e496d6a0a70427a87083bee63722122ed9701.zip FreeBSD-src-5b3e496d6a0a70427a87083bee63722122ed9701.tar.gz |
Add the POSIX 1003.1-2001 posix_madvise() interface.
PR: standards/54634
Reviewed by: das
Approved by: jake (mentor)
Diffstat (limited to 'lib/libc/gen/pmadvise.c')
-rw-r--r-- | lib/libc/gen/pmadvise.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/pmadvise.c b/lib/libc/gen/pmadvise.c index 4024d64..60cef63 100644 --- a/lib/libc/gen/pmadvise.c +++ b/lib/libc/gen/pmadvise.c @@ -10,7 +10,7 @@ __FBSDID("$FreeBSD$"); #include <sys/mman.h> int -(posix_madvise)(void *address, size_t size, int how) +posix_madvise(void *address, size_t size, int how) { - return posix_madvise(address, size, how); + return madvise(address, size, how); } |