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/minherit.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/minherit.2')
-rw-r--r-- | lib/libc/sys/minherit.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/minherit.2 b/lib/libc/sys/minherit.2 index a8ebed3..631c175 100644 --- a/lib/libc/sys/minherit.2 +++ b/lib/libc/sys/minherit.2 @@ -1,4 +1,4 @@ -.\" $Id$ +.\" $Id: minherit.2,v 1.4 1997/02/22 15:04:06 peter Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -43,7 +43,7 @@ .Fd #include <sys/types.h> .Fd #include <sys/mman.h> .Ft int -.Fn minherit "caddr_t addr" "size_t len" "int inherit" +.Fn minherit "void *addr" "size_t len" "int inherit" .Sh DESCRIPTION The .Fn minherit |