summaryrefslogtreecommitdiff
path: root/share/man/man9/uvm.9
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2014-07-02 06:09:50 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2014-07-02 06:09:50 +0000
commit34082dd8dc0dff512e6eb8f423c7b593954daa20 (patch)
tree2a5910578af31af9b1a65e7bfb6969f408dafd6b /share/man/man9/uvm.9
parent96ceff8aaefb8ebfd41840f7f1e355b8db2f5660 (diff)
Use real parameter types for u{dv,vn}_attach() instead of void *
ok guenther
Diffstat (limited to 'share/man/man9/uvm.9')
-rw-r--r--share/man/man9/uvm.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/uvm.9 b/share/man/man9/uvm.9
index e6adf25b83a..a2065943e2e 100644
--- a/share/man/man9/uvm.9
+++ b/share/man/man9/uvm.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uvm.9,v 1.55 2014/06/30 21:48:09 matthew Exp $
+.\" $OpenBSD: uvm.9,v 1.56 2014/07/02 06:09:49 matthew Exp $
.\" $NetBSD: uvm.9,v 1.14 2000/06/29 06:08:44 mrg Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
@@ -30,7 +30,7 @@
.\" XXX this manual sets nS to 1 or 0 in the description, to obtain
.\" synopsis-like function prototypes. any better way?
.\"
-.Dd $Mdocdate: June 30 2014 $
+.Dd $Mdocdate: July 2 2014 $
.Dt UVM 9
.Os
.Sh NAME
@@ -439,7 +439,7 @@ returns a standard errno.
.Sh MEMORY MAPPING FILES AND DEVICES
.nr nS 1
.Ft struct uvm_object *
-.Fn uvn_attach "void *arg" "vm_prot_t accessprot"
+.Fn uvn_attach "struct vnode *vp" "vm_prot_t accessprot"
.Ft void
.Fn uvm_vnp_setsize "struct vnode *vp" "voff_t newsize"
.Ft void
@@ -453,7 +453,7 @@ returns a standard errno.
The
.Fn uvn_attach
function attaches a UVM object to vnode
-.Fa arg ,
+.Fa vp ,
creating the object if necessary.
The object is returned.
.Pp