diff options
author | alex <alex@FreeBSD.org> | 1997-12-31 01:22:01 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 1997-12-31 01:22:01 +0000 |
commit | fb5c76c1763ca3b81193a25fc072df49e47829f3 (patch) | |
tree | f6b982eacadb4b17b938c279c441d37f460d52a5 /lib/libc/sys/msync.2 | |
parent | 43004709f3b48766d3fb67bb59836a5b7af63623 (diff) | |
download | FreeBSD-src-fb5c76c1763ca3b81193a25fc072df49e47829f3.zip FreeBSD-src-fb5c76c1763ca3b81193a25fc072df49e47829f3.tar.gz |
Convert caddr_t --> void * for sys/mman.h functions.
mlock, mmap, mprotect, msync, munlock, and munmap are defined by
POSIX as taking void *. The const modifier has been added to
mlock, munlock, and mprotect as the standard dictates.
minherit comes from OpenBSD and has been updated to conform with
their recent change to void *.
madvise and mincore are not defined by POSIX, but their arguments
have been modified to be consistent with the POSIX-defined functions.
mincore takes a const pointer, but madvise does not due to the
MADV_FREE case.
Discussed with: bde
Diffstat (limited to 'lib/libc/sys/msync.2')
-rw-r--r-- | lib/libc/sys/msync.2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2 index dcb4f70..4f4fc6a 100644 --- a/lib/libc/sys/msync.2 +++ b/lib/libc/sys/msync.2 @@ -41,7 +41,7 @@ .Fd #include <sys/types.h> .Fd #include <sys/mman.h> .Ft int -.Fn msync "caddr_t addr" "size_t len" "int flags" +.Fn msync "void *addr" "size_t len" "int flags" .Sh DESCRIPTION The .Fn msync |