summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-14 20:56:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-14 20:56:14 +0000
commit2e388ac3c6d30ff7e57718ef0038a94f60566c83 (patch)
tree139930b29dd865b0105e4d51538980057548c012 /lib
parentd1c0f4b9b4a1359d908d580975069894c630d0e7 (diff)
convert to void *addr
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/madvise.22
-rw-r--r--lib/libc/sys/mincore.22
-rw-r--r--lib/libc/sys/minherit.24
-rw-r--r--lib/libc/sys/mlock.24
-rw-r--r--lib/libc/sys/mmap.22
-rw-r--r--lib/libc/sys/mprotect.22
-rw-r--r--lib/libc/sys/munmap.22
7 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2
index 5d18e7ce977..ae72f991756 100644
--- a/lib/libc/sys/madvise.2
+++ b/lib/libc/sys/madvise.2
@@ -43,7 +43,7 @@
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft int
-.Fn madvise "caddr_t addr" "size_t len" "int behav"
+.Fn madvise "void *addr" "size_t len" "int behav"
.Sh DESCRIPTION
The
.Fn madvise
diff --git a/lib/libc/sys/mincore.2 b/lib/libc/sys/mincore.2
index 05fb3d6ebd6..9aaa7083993 100644
--- a/lib/libc/sys/mincore.2
+++ b/lib/libc/sys/mincore.2
@@ -43,7 +43,7 @@
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft int
-.Fn mincore "caddr_t addr" "size_t len" "char *vec"
+.Fn mincore "void *addr" "size_t len" "char *vec"
.Sh DESCRIPTION
The
.Fn mincore
diff --git a/lib/libc/sys/minherit.2 b/lib/libc/sys/minherit.2
index 2ca140eb5f1..87aa308acb9 100644
--- a/lib/libc/sys/minherit.2
+++ b/lib/libc/sys/minherit.2
@@ -1,4 +1,4 @@
-.\" $Id: minherit.2,v 1.4 1996/09/01 20:50:51 millert Exp $
+.\" $Id: minherit.2,v 1.5 1997/11/14 20:56:11 deraadt 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
diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2
index be33648c592..2ba0af294d5 100644
--- a/lib/libc/sys/mlock.2
+++ b/lib/libc/sys/mlock.2
@@ -44,9 +44,9 @@
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft int
-.Fn mlock "caddr_t addr" "size_t len"
+.Fn mlock "void *addr" "size_t len"
.Ft int
-.Fn munlock "caddr_t addr" "size_t len"
+.Fn munlock "void *addr" "size_t len"
.Sh DESCRIPTION
The
.Nm mlock
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index 19de24c96c9..aa14d81f49a 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -43,7 +43,7 @@
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft caddr_t
-.Fn mmap "caddr_t addr" "size_t len" "int prot" "int flags" "int fd" "off_t offset"
+.Fn mmap "void *addr" "size_t len" "int prot" "int flags" "int fd" "off_t offset"
.Sh DESCRIPTION
The
.Nm mmap
diff --git a/lib/libc/sys/mprotect.2 b/lib/libc/sys/mprotect.2
index 4870751bbc1..2c0662a75a5 100644
--- a/lib/libc/sys/mprotect.2
+++ b/lib/libc/sys/mprotect.2
@@ -43,7 +43,7 @@
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft int
-.Fn mprotect "caddr_t addr" "size_t len" "int prot"
+.Fn mprotect "void *addr" "size_t len" "int prot"
.Sh DESCRIPTION
The
.Fn mprotect
diff --git a/lib/libc/sys/munmap.2 b/lib/libc/sys/munmap.2
index ab097b704cf..60911762530 100644
--- a/lib/libc/sys/munmap.2
+++ b/lib/libc/sys/munmap.2
@@ -43,7 +43,7 @@
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft int
-.Fn munmap "caddr_t addr" "size_t len"
+.Fn munmap "void *addr" "size_t len"
.Sh DESCRIPTION
The
.Fn munmap