summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-13 14:49:13 +0000
committerbde <bde@FreeBSD.org>1997-04-13 14:49:13 +0000
commit81c85a10506d23c9a4b9490b9ad9ce6e13a8622e (patch)
treedf67fc502e2998aada7dc2af699c98e8877fcab7 /share/man
parentd280e8e0d08d40447f471ce4630609b3e226e3aa (diff)
downloadFreeBSD-src-81c85a10506d23c9a4b9490b9ad9ce6e13a8622e.zip
FreeBSD-src-81c85a10506d23c9a4b9490b9ad9ce6e13a8622e.tar.gz
Fixed #include and/or prototype bugs in synopsis.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/MD5.93
-rw-r--r--share/man/man9/VFS_INIT.93
-rw-r--r--share/man/man9/VOP_ABORTOP.93
-rw-r--r--share/man/man9/VOP_ACCESS.93
-rw-r--r--share/man/man9/VOP_ADVLOCK.93
-rw-r--r--share/man/man9/VOP_ATTRIB.93
-rw-r--r--share/man/man9/VOP_BLKATOFF.93
-rw-r--r--share/man/man9/VOP_BWRITE.93
-rw-r--r--share/man/man9/VOP_CREATE.94
-rw-r--r--share/man/man9/VOP_FSYNC.93
-rw-r--r--share/man/man9/VOP_GETPAGES.93
-rw-r--r--share/man/man9/VOP_LINK.93
-rw-r--r--share/man/man9/VOP_LOOKUP.93
-rw-r--r--share/man/man9/VOP_MMAP.93
-rw-r--r--share/man/man9/VOP_OPENCLOSE.93
-rw-r--r--share/man/man9/VOP_PATHCONF.93
-rw-r--r--share/man/man9/VOP_PRINT.93
-rw-r--r--share/man/man9/VOP_RDWR.93
-rw-r--r--share/man/man9/VOP_READLINK.93
-rw-r--r--share/man/man9/VOP_REALLOCBLKS.93
-rw-r--r--share/man/man9/VOP_REMOVE.93
-rw-r--r--share/man/man9/VOP_RENAME.93
-rw-r--r--share/man/man9/VOP_SEEK.93
-rw-r--r--share/man/man9/VOP_SELECT.93
-rw-r--r--share/man/man9/VOP_STRATEGY.93
-rw-r--r--share/man/man9/VOP_TRUNCATE.93
-rw-r--r--share/man/man9/VOP_UPDATE.93
-rw-r--r--share/man/man9/VOP_VALLOC.93
-rw-r--r--share/man/man9/at_exit.93
-rw-r--r--share/man/man9/at_fork.97
-rw-r--r--share/man/man9/at_shutdown.94
-rw-r--r--share/man/man9/copy.910
-rw-r--r--share/man/man9/devfs_add_devswf.95
-rw-r--r--share/man/man9/devfs_link.94
-rw-r--r--share/man/man9/fetch.95
-rw-r--r--share/man/man9/inittodr.92
-rw-r--r--share/man/man9/kernacc.93
-rw-r--r--share/man/man9/mi_switch.98
-rw-r--r--share/man/man9/physio.98
-rw-r--r--share/man/man9/rtalloc.93
-rw-r--r--share/man/man9/rtentry.93
-rw-r--r--share/man/man9/scsiconf.94
-rw-r--r--share/man/man9/spl.94
-rw-r--r--share/man/man9/timeout.94
-rw-r--r--share/man/man9/uio.93
-rw-r--r--share/man/man9/vget.95
-rw-r--r--share/man/man9/vnode.93
-rw-r--r--share/man/man9/vput.95
-rw-r--r--share/man/man9/vref.95
-rw-r--r--share/man/man9/vrele.95
-rw-r--r--share/man/man9/vslock.95
51 files changed, 122 insertions, 71 deletions
diff --git a/share/man/man9/MD5.9 b/share/man/man9/MD5.9
index df0f84b..a84c8fb 100644
--- a/share/man/man9/MD5.9
+++ b/share/man/man9/MD5.9
@@ -37,7 +37,8 @@
.Nm MD5Transform
.Nd message digest routines
.Sh SYNOPSIS
-.Fd #include <sys/kernel.h>
+.Fd #include <sys/types.h>
+.Fd #include <sys/md5.h>
.Ft void
.Fn MD5Init "MD5_CTX *buf"
.Ft void
diff --git a/share/man/man9/VFS_INIT.9 b/share/man/man9/VFS_INIT.9
index 2934b36..8e49c7f 100644
--- a/share/man/man9/VFS_INIT.9
+++ b/share/man/man9/VFS_INIT.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VFS_INIT.9,v 1.1 1997/03/03 17:59:53 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VFS_INIT
.Nd initialise a filesystem
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/mount.h>
.Fd #include <sys/vnode.h>
.Ft int
diff --git a/share/man/man9/VOP_ABORTOP.9 b/share/man/man9/VOP_ABORTOP.9
index 4e8d7db..534b7fe 100644
--- a/share/man/man9/VOP_ABORTOP.9
+++ b/share/man/man9/VOP_ABORTOP.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_ABORTOP.9,v 1.1 1997/03/03 18:00:00 dfr Exp $
+.\" $Id: VOP_ABORTOP.9,v 1.2 1997/03/04 10:02:01 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_ABORTOP
.Nd abort a directory operation
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_ABORTOP "struct vnode *dvp" "struct componentname *cnp"
diff --git a/share/man/man9/VOP_ACCESS.9 b/share/man/man9/VOP_ACCESS.9
index 8e40460..ee08a37 100644
--- a/share/man/man9/VOP_ACCESS.9
+++ b/share/man/man9/VOP_ACCESS.9
@@ -27,7 +27,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_ACCESS.9,v 1.2 1997/03/04 06:20:41 mpp Exp $
+.\" $Id: VOP_ACCESS.9,v 1.3 1997/03/07 03:32:19 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -36,6 +36,7 @@
.Nm VOP_ACCESS
.Nd check access permissions of a file or Unix domain socket
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_ACCESS "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p"
diff --git a/share/man/man9/VOP_ADVLOCK.9 b/share/man/man9/VOP_ADVLOCK.9
index 6dd65d3..ed8eb74 100644
--- a/share/man/man9/VOP_ADVLOCK.9
+++ b/share/man/man9/VOP_ADVLOCK.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_ADVLOCK.9,v 1.1 1997/03/03 18:00:05 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_ADVLOCK
.Nd advisory record locking
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/fcntl.h>
.Fd #include <sys/lockf.h>
diff --git a/share/man/man9/VOP_ATTRIB.9 b/share/man/man9/VOP_ATTRIB.9
index 202432e..109d746 100644
--- a/share/man/man9/VOP_ATTRIB.9
+++ b/share/man/man9/VOP_ATTRIB.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_ATTRIB.9,v 1.3 1997/03/07 03:16:52 mpp Exp $
+.\" $Id: VOP_ATTRIB.9,v 1.4 1997/03/07 03:32:21 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -36,6 +36,7 @@
.Nm VOP_SETATTR
.Nd get and set attributes on a file or directory
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_GETATTR "struct vnode *vp" "struct vattr *vap" "struct ucred *cred" "struct proc *p"
diff --git a/share/man/man9/VOP_BLKATOFF.9 b/share/man/man9/VOP_BLKATOFF.9
index 143a524..178f634 100644
--- a/share/man/man9/VOP_BLKATOFF.9
+++ b/share/man/man9/VOP_BLKATOFF.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_BLKATOFF.9,v 1.1 1997/03/03 18:00:11 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_BLKATOFF
.Nd return a filesystem buffer for part of a file
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/buf.h>
.Ft int
diff --git a/share/man/man9/VOP_BWRITE.9 b/share/man/man9/VOP_BWRITE.9
index 6ed435d..3e8ae2e 100644
--- a/share/man/man9/VOP_BWRITE.9
+++ b/share/man/man9/VOP_BWRITE.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_BWRITE.9,v 1.1 1997/03/03 18:00:13 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_BWRITE
.Nd write a filesystem buffer
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/buf.h>
.Ft int
diff --git a/share/man/man9/VOP_CREATE.9 b/share/man/man9/VOP_CREATE.9
index 5b237b8..eeb0ac8 100644
--- a/share/man/man9/VOP_CREATE.9
+++ b/share/man/man9/VOP_CREATE.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_CREATE.9,v 1.2 1997/03/04 10:02:07 dfr Exp $
+.\" $Id: VOP_CREATE.9,v 1.3 1997/03/07 03:32:22 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -38,6 +38,7 @@
.Nm VOP_SYMLINK
.Nd create a file, socket, fifo, device, directory or symlink
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/namei.h>
.Ft int
@@ -46,6 +47,7 @@
.Fn VOP_MKNOD "struct vnode *dvp" "struct vnode **vpp" "struct componentname *cnp" "struct vattr *vap"
.Ft int
.Fn VOP_MKDIR "struct vnode *dvp" "struct vnode **vpp" "struct componentname *cnp" "struct vattr *vap"
+.Ft int
.Fn VOP_SYMLINK "struct vnode *dvp" "struct vnode **vpp" "struct componentname *cnp" "struct vattr *vap" "char *target"
.Sh DESCRIPTION
These entry points create a new file, socket, fifo, device, directory or symlink
diff --git a/share/man/man9/VOP_FSYNC.9 b/share/man/man9/VOP_FSYNC.9
index 56e0e0c..9a93619 100644
--- a/share/man/man9/VOP_FSYNC.9
+++ b/share/man/man9/VOP_FSYNC.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_FSYNC.9,v 1.2 1997/03/04 10:02:10 dfr Exp $
+.\" $Id: VOP_FSYNC.9,v 1.3 1997/03/07 03:32:24 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_FSYNC
.Nd flush filesystem buffers for a file
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_FSYNC "struct vnode *vp" "struct ucred *cred" "int waitfor" "struct proc *p"
diff --git a/share/man/man9/VOP_GETPAGES.9 b/share/man/man9/VOP_GETPAGES.9
index a161e41..b734554 100644
--- a/share/man/man9/VOP_GETPAGES.9
+++ b/share/man/man9/VOP_GETPAGES.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_GETPAGES.9,v 1.1 1997/03/03 18:00:18 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -36,6 +36,7 @@
.Nm VOP_PUTPAGES
.Nd read or write VM pages from a file
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <vm/vm.h>
.Ft int
diff --git a/share/man/man9/VOP_LINK.9 b/share/man/man9/VOP_LINK.9
index 095647e..5f6dd28 100644
--- a/share/man/man9/VOP_LINK.9
+++ b/share/man/man9/VOP_LINK.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_LINK.9,v 1.1 1997/03/03 18:00:23 dfr Exp $
+.\" $Id: VOP_LINK.9,v 1.2 1997/03/07 03:32:25 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_LINK
.Nd create a new name for a file
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_LINK "struct vnode *dvp" "struct vnode *vp" "struct componentname *cnp"
diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9
index 45e0c19..e4de66a 100644
--- a/share/man/man9/VOP_LOOKUP.9
+++ b/share/man/man9/VOP_LOOKUP.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_LOOKUP.9,v 1.2 1997/03/04 06:20:43 mpp Exp $
+.\" $Id: VOP_LOOKUP.9,v 1.3 1997/03/07 03:32:26 mpp Exp $
.\"
.Dd July 24, 1996
.Os FreeBSD
@@ -35,6 +35,7 @@
.Nm VOP_LOOKUP
.Nd lookup a component of a pathname
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/namei.h>
.Ft int
diff --git a/share/man/man9/VOP_MMAP.9 b/share/man/man9/VOP_MMAP.9
index 9f51aa5..8465fa6 100644
--- a/share/man/man9/VOP_MMAP.9
+++ b/share/man/man9/VOP_MMAP.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_MMAP.9,v 1.1 1997/03/03 18:00:27 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_MMAP
.Nd map a file into memory
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_MMAP "struct vnode *vp" "int fflags" "struct ucred *cred" "struct proc *p"
diff --git a/share/man/man9/VOP_OPENCLOSE.9 b/share/man/man9/VOP_OPENCLOSE.9
index 6b93501..39b4d37 100644
--- a/share/man/man9/VOP_OPENCLOSE.9
+++ b/share/man/man9/VOP_OPENCLOSE.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_OPENCLOSE.9,v 1.1 1997/03/03 18:00:28 dfr Exp $
+.\" $Id: VOP_OPENCLOSE.9,v 1.2 1997/03/04 10:02:15 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -36,6 +36,7 @@
.Nm VOP_CLOSE
.Nd open or close a file
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_OPEN "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p"
diff --git a/share/man/man9/VOP_PATHCONF.9 b/share/man/man9/VOP_PATHCONF.9
index a1810ee..c613f7b 100644
--- a/share/man/man9/VOP_PATHCONF.9
+++ b/share/man/man9/VOP_PATHCONF.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_PATHCONF.9,v 1.1 1997/03/03 18:00:29 dfr Exp $
+.\" $Id: VOP_PATHCONF.9,v 1.2 1997/03/04 06:20:45 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_PATHCONF
.Nd return POSIX pathconf information
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/unistd.h>
.Ft int
diff --git a/share/man/man9/VOP_PRINT.9 b/share/man/man9/VOP_PRINT.9
index 42fec12..498d754 100644
--- a/share/man/man9/VOP_PRINT.9
+++ b/share/man/man9/VOP_PRINT.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_PRINT.9,v 1.1 1997/03/03 18:00:30 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_PRINT
.Nd print debugging information
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_PRINT "struct vnode *vp"
diff --git a/share/man/man9/VOP_RDWR.9 b/share/man/man9/VOP_RDWR.9
index 5680b0c..39072c9 100644
--- a/share/man/man9/VOP_RDWR.9
+++ b/share/man/man9/VOP_RDWR.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_RDWR.9,v 1.3 1997/03/04 10:02:18 dfr Exp $
+.\" $Id: VOP_RDWR.9,v 1.4 1997/03/07 03:32:27 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -36,6 +36,7 @@
.Nm VOP_WRITE
.Nd read or write a file
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/uio.h>
.Ft int
diff --git a/share/man/man9/VOP_READLINK.9 b/share/man/man9/VOP_READLINK.9
index 59ee91e..f4498da 100644
--- a/share/man/man9/VOP_READLINK.9
+++ b/share/man/man9/VOP_READLINK.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_READLINK.9,v 1.2 1997/03/04 10:02:31 dfr Exp $
+.\" $Id: VOP_READLINK.9,v 1.3 1997/03/07 03:32:29 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_READLINK
.Nd read the target of a symbolic link
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/uio.h>
.Ft int
diff --git a/share/man/man9/VOP_REALLOCBLKS.9 b/share/man/man9/VOP_REALLOCBLKS.9
index 75571a1..f21a020 100644
--- a/share/man/man9/VOP_REALLOCBLKS.9
+++ b/share/man/man9/VOP_REALLOCBLKS.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_REALLOCBLKS.9,v 1.1 1997/03/03 18:00:35 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_REALLOCBLKS
.Nd rearrange blocks in a file to be contiguous
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/buf.h>
.Ft int
diff --git a/share/man/man9/VOP_REMOVE.9 b/share/man/man9/VOP_REMOVE.9
index 3a87da2..958100f 100644
--- a/share/man/man9/VOP_REMOVE.9
+++ b/share/man/man9/VOP_REMOVE.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_REMOVE.9,v 1.2 1997/03/04 10:02:36 dfr Exp $
+.\" $Id: VOP_REMOVE.9,v 1.3 1997/03/07 03:32:29 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -36,6 +36,7 @@
.Nm VOP_RMDIR
.Nd remove a file or directory
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_REMOVE "struct vnode *dvp" "struct vnode *vp" "struct componentname *cnp"
diff --git a/share/man/man9/VOP_RENAME.9 b/share/man/man9/VOP_RENAME.9
index cab2d65..460d6b7 100644
--- a/share/man/man9/VOP_RENAME.9
+++ b/share/man/man9/VOP_RENAME.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_RENAME.9,v 1.3 1997/03/04 10:02:40 dfr Exp $
+.\" $Id: VOP_RENAME.9,v 1.4 1997/03/07 03:32:30 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_RENAME
.Nd rename a file
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_RENAME "struct vnode *fdvp" "struct vnode *fvp" "struct componentname *fcnp" "struct vnode *tdvp" "struct vnode *tvp" "struct componentname *tcnp"
diff --git a/share/man/man9/VOP_SEEK.9 b/share/man/man9/VOP_SEEK.9
index 2f9e51f..90b2240 100644
--- a/share/man/man9/VOP_SEEK.9
+++ b/share/man/man9/VOP_SEEK.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_SEEK.9,v 1.1 1997/03/03 18:00:40 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_SEEK
.Nd seek to a given location in a file
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_SEEK "struct vnode *vp" "off_t oldoff" "off_t newoff" "struct ucred *cred"
diff --git a/share/man/man9/VOP_SELECT.9 b/share/man/man9/VOP_SELECT.9
index f627a0b..07f9b52 100644
--- a/share/man/man9/VOP_SELECT.9
+++ b/share/man/man9/VOP_SELECT.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: VOP_SELECT.9,v 1.2 1997/03/04 10:02:44 dfr Exp $
+.\" $Id: VOP_SELECT.9,v 1.3 1997/03/07 03:32:31 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_SELECT
.Nd wait for I/O to be possible
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_SELECT "struct vnode *vp" "int which" "int fflags" "struct ucred *cred" "struct proc *p"
diff --git a/share/man/man9/VOP_STRATEGY.9 b/share/man/man9/VOP_STRATEGY.9
index 1ce3dac..daff693 100644
--- a/share/man/man9/VOP_STRATEGY.9
+++ b/share/man/man9/VOP_STRATEGY.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_STRATEGY.9,v 1.1 1997/03/03 18:00:45 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_STRATEGY
.Nd read or write a filesystem buffer
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/buf.h>
.Ft int
diff --git a/share/man/man9/VOP_TRUNCATE.9 b/share/man/man9/VOP_TRUNCATE.9
index db6b8e5..45253cc 100644
--- a/share/man/man9/VOP_TRUNCATE.9
+++ b/share/man/man9/VOP_TRUNCATE.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_TRUNCATE.9,v 1.1 1997/03/03 18:00:47 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_TRUNCATE
.Nd truncate a file
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_TRUNCATE "struct vnode *vp" "off_t length" "int flags" "struct ucred *cred" "struct proc *p"
diff --git a/share/man/man9/VOP_UPDATE.9 b/share/man/man9/VOP_UPDATE.9
index b2e6fa2..9dc8a7f 100644
--- a/share/man/man9/VOP_UPDATE.9
+++ b/share/man/man9/VOP_UPDATE.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_UPDATE.9,v 1.1 1997/03/03 18:00:50 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm VOP_UPDATE
.Nd update the on-disc version of a vnode
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_UPDATE "struct vnode *vp" "struct timeval *access" "struct timeval *modify" "int waitfor"
diff --git a/share/man/man9/VOP_VALLOC.9 b/share/man/man9/VOP_VALLOC.9
index f9feaa9..90c822b 100644
--- a/share/man/man9/VOP_VALLOC.9
+++ b/share/man/man9/VOP_VALLOC.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: VOP_VALLOC.9,v 1.1 1997/03/03 18:00:52 dfr Exp $
.\"
.Dd July 24, 1996
.Os
@@ -36,6 +36,7 @@
.Nm VOP_VFREE
.Nd Allocate a new inode in the filesystem.
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
.Fn VOP_VALLOC "struct vnode *pvp" "int mode" "struct ucred *cred" "struct vnode **vpp"
diff --git a/share/man/man9/at_exit.9 b/share/man/man9/at_exit.9
index 30ce0c4..10cc298 100644
--- a/share/man/man9/at_exit.9
+++ b/share/man/man9/at_exit.9
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: at_exit.9,v 1.6 1997/02/22 13:26:21 peter Exp $
.\" "
.Dd August 15, 1996
.Os
@@ -33,6 +33,7 @@
.Nm rm_at_exit
.Nd ask that a function be run at exit.
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
.Ft typedef void \*(lp*exitlist_fn\*(rp \*(lpstruct proc *\*(rp;
diff --git a/share/man/man9/at_fork.9 b/share/man/man9/at_fork.9
index 6089365..5e17646 100644
--- a/share/man/man9/at_fork.9
+++ b/share/man/man9/at_fork.9
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: at_fork.9,v 1.5 1997/02/22 13:26:22 peter Exp $
.\" "
.Dd August 15, 1996
.Os
@@ -33,11 +33,12 @@
.Nm rm_at_fork
.Nd ask that a function be run at fork.
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
.Ft typedef void \*(lp*forklist_fn\*(rp \*(lpstruct proc*, struct proc*, int\*(rp;
-.Ft void
+.Ft int
.Fn at_fork "forklist_fn func"
-.Ft void
+.Ft int
.Fn rm_at_fork "forklist_fn func"
.Sh DESCRIPTION
The
diff --git a/share/man/man9/at_shutdown.9 b/share/man/man9/at_shutdown.9
index 7339612..0846370 100644
--- a/share/man/man9/at_shutdown.9
+++ b/share/man/man9/at_shutdown.9
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: at_shutdown.9,v 1.9 1997/02/22 13:26:23 peter Exp $
.\" "
.Dd August 15, 1996
.Os
@@ -33,7 +33,7 @@
.Nm rm_at_shutdown
.Nd ask that a function be run at shutdown.
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
+.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
.Fd #include <sys/reboot.h>
.Ft typedef void \*(lp*bootlist_fn\*(rp\*(lpint howto, void *arg\*(rp
diff --git a/share/man/man9/copy.9 b/share/man/man9/copy.9
index c8c57c3..8f80a14 100644
--- a/share/man/man9/copy.9
+++ b/share/man/man9/copy.9
@@ -46,15 +46,15 @@
.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
.Ft int
-.Fn copyin "void *uaddr" "void *kaddr" "size_t len"
+.Fn copyin "const void *uaddr" "void *kaddr" "size_t len"
.Ft int
-.Fn copyout "void *kaddr" "void *uaddr" "size_t len"
+.Fn copyout "const void *kaddr" "void *uaddr" "size_t len"
.Ft int
-.Fn copystr "void *kfaddr" "void *kdaddr" "size_t len" "size_t *done"
+.Fn copystr "const void *kfaddr" "void *kdaddr" "size_t len" "size_t *done"
.Ft int
-.Fn copyinstr "void *uaddr" "void *kaddr" "size_t len" "size_t *done"
+.Fn copyinstr "const void *uaddr" "void *kaddr" "size_t len" "size_t *done"
.\" .Ft int
-.\" .Fn copyoutstr "void *kaddr" "void *uaddr" "size_t len" "size_t *done"
+.\" .Fn copyoutstr "const void *kaddr" "void *uaddr" "size_t len" "size_t *done"
.Sh DESCRIPTION
The
.Nm
diff --git a/share/man/man9/devfs_add_devswf.9 b/share/man/man9/devfs_add_devswf.9
index 7b29ce9..7199b99 100644
--- a/share/man/man9/devfs_add_devswf.9
+++ b/share/man/man9/devfs_add_devswf.9
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: devfs_add_devswf.9,v 1.4 1997/02/22 13:26:23 peter Exp $
.\"
.Dd December 31, 1995
.Os FreeBSD
@@ -34,9 +34,10 @@
.Nm devfs_add_devswf
.Nd wire device into devswitch table
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/devfsext.h>
.Ft void *
-.Fn devfs_add_devswf "void *devsw" "int minor" "int chrblk" "uid_t uid" "gid_t gid" "int perms" "char *fmt" "..."
+.Fn devfs_add_devswf "void *devsw" "int minor" "int chrblk" "uid_t uid" "gid_t gid" "int perms" "char *fmt" ...
.Sh DESCRIPTION
The call that adds an entry into devfs is
.Nm devfs_add_devswf .
diff --git a/share/man/man9/devfs_link.9 b/share/man/man9/devfs_link.9
index 2812dd8..2d4c84b 100644
--- a/share/man/man9/devfs_link.9
+++ b/share/man/man9/devfs_link.9
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: devfs_link.9,v 1.6 1997/02/22 13:26:24 peter Exp $
.\"
.Dd December 31, 1995
.Os FreeBSD
@@ -36,7 +36,7 @@
.Sh SYNOPSIS
.Fd #include <sys/devfsext.h>
.Ft void *
-.Fn devfs_link "void *original" "char *fmt" "..."
+.Fn devfs_link "void *original" "char *fmt" ...
.Sh DESCRIPTION
The function
.Nm
diff --git a/share/man/man9/fetch.9 b/share/man/man9/fetch.9
index 6e9ab58..96dde02 100644
--- a/share/man/man9/fetch.9
+++ b/share/man/man9/fetch.9
@@ -45,14 +45,15 @@
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
+.Fd #include <sys/resourcevar.h>
.Ft int
-.Fn fubyte "void *base"
+.Fn fubyte "const void *base"
.Ft int
.Fn fusword "void *base"
.Ft int
.Fn fuswintr "void *base"
.Ft int
-.Fn fuword "void *base"
+.Fn fuword "const void *base"
.Sh DESCRIPTION
The
.Nm
diff --git a/share/man/man9/inittodr.9 b/share/man/man9/inittodr.9
index a4a9b5b..eddb8ee 100644
--- a/share/man/man9/inittodr.9
+++ b/share/man/man9/inittodr.9
@@ -36,6 +36,8 @@
.Nm inittodr
.Nd initialize system time
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/systm.h>
.Ft void
.Fn inittodr "time_t base"
.Sh DESCRIPTION
diff --git a/share/man/man9/kernacc.9 b/share/man/man9/kernacc.9
index 03bbd7b..cd0abb5 100644
--- a/share/man/man9/kernacc.9
+++ b/share/man/man9/kernacc.9
@@ -42,6 +42,9 @@
.Nm useracc
.Nd check memory regions for accessibility
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <vm/vm.h>
+.Fd #include <vm/vm_extern.h>
.Ft int
.Fn kernacc "caddr_t addr" "int len" "int rw"
.Ft int
diff --git a/share/man/man9/mi_switch.9 b/share/man/man9/mi_switch.9
index 103a7c5..1a69c96 100644
--- a/share/man/man9/mi_switch.9
+++ b/share/man/man9/mi_switch.9
@@ -42,10 +42,12 @@
.Nm cpu_switch
.Nd switch to another process context
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
+.Fd #include <sys/proc.h>
.Ft void
.Fn mi_switch "void"
.Ft void
-.Fn cpu_switch "void"
+.Fn cpu_switch "struct proc *p"
.Sh DESCRIPTION
The
.Fn mi_switch
@@ -72,7 +74,7 @@ of a change in the signal disposition of the current process, or when a
higher priority process might be available to run. The latter event is
communicated by the machine independent scheduling routines by calling
the machine defined
-.Fn need_resched "void" .
+.Fn need_resched .
.It
in the signal handling code
.Pq see Xr issignal 9
@@ -92,7 +94,7 @@ cause a
After these administrative tasks are done,
.Fn mi_switch
hands over control to the machine dependent routine
-.Fn cpu_switch "void" ,
+.Fn cpu_switch ,
which will perform the actual process context switch.
.Pp
.Fn cpu_switch
diff --git a/share/man/man9/physio.9 b/share/man/man9/physio.9
index 0a63379..e372b90 100644
--- a/share/man/man9/physio.9
+++ b/share/man/man9/physio.9
@@ -41,13 +41,15 @@
.Nm physio
.Nd initiate I/O on raw devices
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
+.Fd #include <sys/buf.h>
.Ft int
-.Fo "physio"
-.Fa "(*strategy)(struct buf *)"
+.Fo physio
+.Fa "void (*strategy)(struct buf *)"
.Fa "struct buf *bp"
.Fa "dev_t dev"
.Fa "int flags"
-.Fa "(*minphys)(struct buf *)"
+.Fa "u_int (*minphys)(struct buf *)"
.Fa "struct uio *uio"
.Fc
.Sh DESCRIPTION
diff --git a/share/man/man9/rtalloc.9 b/share/man/man9/rtalloc.9
index db997e4..f97ca51 100644
--- a/share/man/man9/rtalloc.9
+++ b/share/man/man9/rtalloc.9
@@ -26,7 +26,7 @@
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: rtalloc.9,v 1.5 1997/02/22 13:26:25 peter Exp $
.Dd October 8, 1996
.Os
.Dt RTALLOC 9
@@ -36,6 +36,7 @@
.Nm rtalloc1
.Nd look up a route in the kernel routing table
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <net/route.h>
.Ft void
diff --git a/share/man/man9/rtentry.9 b/share/man/man9/rtentry.9
index 848ee7b..c97dc44 100644
--- a/share/man/man9/rtentry.9
+++ b/share/man/man9/rtentry.9
@@ -26,7 +26,7 @@
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: rtentry.9,v 1.5 1997/02/22 13:26:26 peter Exp $
.Dd October 8, 1996
.Os
.Dt RTENTRY 9
@@ -34,6 +34,7 @@
.Nm rtentry
.Nd structure of an entry in the kernel routing table
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <net/route.h>
.Sh DESCRIPTION
diff --git a/share/man/man9/scsiconf.9 b/share/man/man9/scsiconf.9
index 53948f8..064f703 100644
--- a/share/man/man9/scsiconf.9
+++ b/share/man/man9/scsiconf.9
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: scsiconf.9,v 1.4 1997/03/07 02:53:36 jmg Exp $
.\"
.Dd January 29, 1997
.Dt SCSICONF 9
@@ -34,7 +34,7 @@
.Nm scsiconf
.Nd define how certain scsi devices behave
.Sh SYNOPSIS
-.Fd #include <scsi/scsi_all.h>
+.Fd #include <sys/types.h>
.Fd #include <scsi/scsiconf.h>
.Dv static struct scsidevs knowndevs[] =
.Em ...
diff --git a/share/man/man9/spl.9 b/share/man/man9/spl.9
index 5da0009..b30bacc 100644
--- a/share/man/man9/spl.9
+++ b/share/man/man9/spl.9
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: spl.9,v 1.3 1997/02/22 13:26:27 peter Exp $
+.\" $Id: spl.9,v 1.4 1997/03/21 20:14:14 mpp Exp $
.\" "
.Dd July 21, 1996
.Os
@@ -43,7 +43,7 @@
.Nm splx
.Nd manipulate interrupt priorities
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
+.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
.Ft int
.Fn splbio "void"
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9
index d13a914..1133162 100644
--- a/share/man/man9/timeout.9
+++ b/share/man/man9/timeout.9
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: timeout.9,v 1.3 1997/02/22 13:26:29 peter Exp $
+.\" $Id: timeout.9,v 1.4 1997/03/19 03:18:01 bde Exp $
.\" "
.Dd April 13, 1996
.Os
@@ -33,7 +33,7 @@
.Nm untimeout
.Nd schedule timer events
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
+.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
.Ft typedef void timeout_t \*(lpvoid *\*(rp;
diff --git a/share/man/man9/uio.9 b/share/man/man9/uio.9
index 406b187..290fa10 100644
--- a/share/man/man9/uio.9
+++ b/share/man/man9/uio.9
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: uio.9,v 1.3 1997/02/22 13:26:29 peter Exp $
.\" "
.Dd February 2, 1997
.Os
@@ -34,7 +34,6 @@
.Nd device driver IO routines
.Sh SYNOPSIS
.Fd #include <sys/types.h>
-.Fd #include <sys/cdefs.h>
.Fd #include <sys/uio.h>
.Pp
.Bd -literal
diff --git a/share/man/man9/vget.9 b/share/man/man9/vget.9
index e9945d1..3df41f1 100644
--- a/share/man/man9/vget.9
+++ b/share/man/man9/vget.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: vget.9,v 1.1 1997/03/03 18:00:55 dfr Exp $
+.\" $Id: vget.9,v 1.2 1997/03/22 22:47:30 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,9 +35,10 @@
.Nm vget
.Nd get a vnode from the free list
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Ft int
-.Fn vget "struct vnode *vp" "int lockflag"
+.Fn vget "struct vnode *vp" "int lockflag" "struct proc *p"
.Sh DESCRIPTION
Get a vnode from the free list and increment its reference count.
.Bl -tag -width lockflag
diff --git a/share/man/man9/vnode.9 b/share/man/man9/vnode.9
index 131dd0a..c97dbc6 100644
--- a/share/man/man9/vnode.9
+++ b/share/man/man9/vnode.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: vnode.9,v 1.1 1997/03/03 18:00:57 dfr Exp $
+.\" $Id: vnode.9,v 1.2 1997/03/22 22:47:31 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,6 +35,7 @@
.Nm vnode
.Nd internal representation of a file or directory
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Pp
.Bd -literal
diff --git a/share/man/man9/vput.9 b/share/man/man9/vput.9
index b7209e2..a198e9b 100644
--- a/share/man/man9/vput.9
+++ b/share/man/man9/vput.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: vput.9,v 1.1 1997/03/03 18:00:58 dfr Exp $
+.\" $Id: vput.9,v 1.2 1997/03/22 22:47:32 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,8 +35,9 @@
.Nm vput
.Nd decrement the use count for a vnode and unlock it
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
-.Ft int
+.Ft void
.Fn vput "struct vnode *vp"
.Sh DESCRIPTION
Decrement the
diff --git a/share/man/man9/vref.9 b/share/man/man9/vref.9
index 74a200c..96be771 100644
--- a/share/man/man9/vref.9
+++ b/share/man/man9/vref.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: vref.9,v 1.1 1997/03/03 18:01:00 dfr Exp $
+.\" $Id: vref.9,v 1.2 1997/03/22 22:47:33 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,8 +35,9 @@
.Nm vref
.Nd increment the use count for a vnode
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
-.Ft int
+.Ft void
.Fn vref "struct vnode *vp"
.Sh DESCRIPTION
Increment the
diff --git a/share/man/man9/vrele.9 b/share/man/man9/vrele.9
index 049bfd0..10f5c0a 100644
--- a/share/man/man9/vrele.9
+++ b/share/man/man9/vrele.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: vrele.9,v 1.1 1997/03/03 18:01:01 dfr Exp $
+.\" $Id: vrele.9,v 1.2 1997/03/22 22:47:34 mpp Exp $
.\"
.Dd July 24, 1996
.Os
@@ -35,8 +35,9 @@
.Nm vrele
.Nd decrement the use count for a vnode
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
-.Ft int
+.Ft void
.Fn vrele "struct vnode *vp"
.Sh DESCRIPTION
Decrement the
diff --git a/share/man/man9/vslock.9 b/share/man/man9/vslock.9
index 0b99942..e73155f 100644
--- a/share/man/man9/vslock.9
+++ b/share/man/man9/vslock.9
@@ -42,10 +42,13 @@
.Nm vsunlock
.Nd lock/unlock user space addresses in memory
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <vm/vm.h>
+.Fd #include <vm/vm_extern.h>
.Ft void
.Fn vslock "caddr_t addr" "u_int len"
.Ft void
-.Fn vsunlock "caddr_t addr" "u_int len"
+.Fn vsunlock "caddr_t addr" "u_int len" "int dirtied"
.Sh DESCRIPTION
The
.Fn vslock
OpenPOWER on IntegriCloud