diff options
author | alfred <alfred@FreeBSD.org> | 2001-07-11 03:51:44 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-07-11 03:51:44 +0000 |
commit | 600fc1a6a289df04dafbf68fd8f78830d6da72dd (patch) | |
tree | 39d5f9ab14f3c91882b071c554d92fd40db66f87 /share | |
parent | 17eb1bfcbf757a1739adfbf5d0fb91b10212a882 (diff) | |
download | FreeBSD-src-600fc1a6a289df04dafbf68fd8f78830d6da72dd.zip FreeBSD-src-600fc1a6a289df04dafbf68fd8f78830d6da72dd.tar.gz |
I have gone through all of the functions and added
the correct includes and changed the functions as
requested.
Submitted by: Chad David <davidc@acns.ab.ca>
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/BUF_LOCK.9 | 6 | ||||
-rw-r--r-- | share/man/man9/BUF_LOCKFREE.9 | 5 | ||||
-rw-r--r-- | share/man/man9/BUF_LOCKINIT.9 | 5 | ||||
-rw-r--r-- | share/man/man9/BUF_REFCNT.9 | 5 | ||||
-rw-r--r-- | share/man/man9/BUF_TIMELOCK.9 | 9 | ||||
-rw-r--r-- | share/man/man9/BUF_UNLOCK.9 | 5 | ||||
-rw-r--r-- | share/man/man9/cdevsw_add.9 | 5 | ||||
-rw-r--r-- | share/man/man9/cdevsw_remove.9 | 5 | ||||
-rw-r--r-- | share/man/man9/devsw.9 | 4 | ||||
-rw-r--r-- | share/man/man9/lockcount.9 | 5 | ||||
-rw-r--r-- | share/man/man9/lockdestroy.9 | 5 | ||||
-rw-r--r-- | share/man/man9/lockmgr.9 | 8 | ||||
-rw-r--r-- | share/man/man9/lockmgr_printinfo.9 | 5 | ||||
-rw-r--r-- | share/man/man9/lockstatus.9 | 6 | ||||
-rw-r--r-- | share/man/man9/vfs_busy.9 | 9 | ||||
-rw-r--r-- | share/man/man9/vfs_mount.9 | 9 | ||||
-rw-r--r-- | share/man/man9/vfs_unbusy.9 | 7 | ||||
-rw-r--r-- | share/man/man9/vinvalbuf.9 | 10 | ||||
-rw-r--r-- | share/man/man9/vn_isdisk.9 | 6 |
19 files changed, 39 insertions, 80 deletions
diff --git a/share/man/man9/BUF_LOCK.9 b/share/man/man9/BUF_LOCK.9 index 3c5ce99..289e72d 100644 --- a/share/man/man9/BUF_LOCK.9 +++ b/share/man/man9/BUF_LOCK.9 @@ -33,12 +33,10 @@ .Nm BUF_LOCK .Nd "Locks a buffer" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/buf.h> .Ft int -.Fo BUF_LOCK -.Fa "struct buf *bp" -.Fa "int locktype" -.Fc +.Fn BUF_LOCK "struct buf *bp" "int locktype" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/BUF_LOCKFREE.9 b/share/man/man9/BUF_LOCKFREE.9 index 3add14d..7d90a92 100644 --- a/share/man/man9/BUF_LOCKFREE.9 +++ b/share/man/man9/BUF_LOCKFREE.9 @@ -33,11 +33,10 @@ .Nm BUF_LOCKFREE .Nd "Destroys the buffers lock" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/buf.h> .Ft void -.Fo BUF_LOCKFREE -.Fa "struct buf *bp" -.Fc +.Fn BUF_LOCKFREE "struct buf *bp" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/BUF_LOCKINIT.9 b/share/man/man9/BUF_LOCKINIT.9 index c215c25..073364a 100644 --- a/share/man/man9/BUF_LOCKINIT.9 +++ b/share/man/man9/BUF_LOCKINIT.9 @@ -33,11 +33,10 @@ .Nm BUF_LOCKINIT .Nd "Unlocks a locked buffer" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/buf.h> .Ft void -.Fo BUF_LOCKINIT -.Fa "struct buf *bp" -.Fc +.Fn BUF_LOCKINIT "struct buf *bp" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/BUF_REFCNT.9 b/share/man/man9/BUF_REFCNT.9 index cdf50e7..e0e0cf5c 100644 --- a/share/man/man9/BUF_REFCNT.9 +++ b/share/man/man9/BUF_REFCNT.9 @@ -33,11 +33,10 @@ .Nm BUF_REFCNT .Nd "Returns the reference count of the buffer lock" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/buf.h> .Ft int -.Fo BUF_REFCNT -.Fa "struct buf *bp" -.Fc +.Fn BUF_REFCNT "struct buf *bp" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/BUF_TIMELOCK.9 b/share/man/man9/BUF_TIMELOCK.9 index 4a319cc..067e9dd 100644 --- a/share/man/man9/BUF_TIMELOCK.9 +++ b/share/man/man9/BUF_TIMELOCK.9 @@ -33,15 +33,10 @@ .Nm BUF_TIMELOCK .Nd "Locks a buffer" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/buf.h> .Ft int -.Fo BUF_TIMELOCK -.Fa "struct buf *bp" -.Fa "int locktype" -.Fa "char *wmesg" -.Fa "int catch" -.Fa "int timo" -.Fc +.Fn BUF_TIMELOCK "struct buf *bp" "int locktype" "char *wmesg" "int catch" "int timo" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/BUF_UNLOCK.9 b/share/man/man9/BUF_UNLOCK.9 index 7b2373b..271abca 100644 --- a/share/man/man9/BUF_UNLOCK.9 +++ b/share/man/man9/BUF_UNLOCK.9 @@ -33,11 +33,10 @@ .Nm BUF_UNLOCK .Nd "Unlocks a locked buffer" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/buf.h> .Ft void -.Fo BUF_UNLOCK -.Fa "struct buf *bp" -.Fc +.Fn BUF_UNLOCK "struct buf *bp" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/cdevsw_add.9 b/share/man/man9/cdevsw_add.9 index 375027f..10c548a 100644 --- a/share/man/man9/cdevsw_add.9 +++ b/share/man/man9/cdevsw_add.9 @@ -33,11 +33,10 @@ .Nm cdevsw_add .Nd "Adds a cdevsw entry" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/conf.h> .Ft int -.Fo cdevsw_add -.Fa "struct cdevsw *newentry" -.Fc +.Fn cdevsw_add "struct cdevsw *newentry" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/cdevsw_remove.9 b/share/man/man9/cdevsw_remove.9 index 4d7b49e..53ba1dd 100644 --- a/share/man/man9/cdevsw_remove.9 +++ b/share/man/man9/cdevsw_remove.9 @@ -33,11 +33,10 @@ .Nm cdevsw_remove .Nd "Removes a cdevsw entry" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/conf.h> .Ft int -.Fo cdevsw_add -.Fa "struct cdevsw *oldentry" -.Fc +.Fn cdevsw_add "struct cdevsw *oldentry" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/devsw.9 b/share/man/man9/devsw.9 index 2510f07..f9265b2 100644 --- a/share/man/man9/devsw.9 +++ b/share/man/man9/devsw.9 @@ -35,9 +35,7 @@ .Sh SYNOPSIS .Fd #include <sys/conf.h> .Ft struct cdevsw * -.Fo devsw -.Fa "dev_t dev" -.Fc +.Fn devsw "dev_t dev" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/lockcount.9 b/share/man/man9/lockcount.9 index 5c83f66..04bdce0 100644 --- a/share/man/man9/lockcount.9 +++ b/share/man/man9/lockcount.9 @@ -33,11 +33,10 @@ .Nm lockcount .Nd "Returns the reference count of a lock" .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/lockmgr.h> .Ft int -.Fo lockcount -.Fa "struct lock *lkp" -.Fc +.Fn lockcount "struct lock *lkp" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/lockdestroy.9 b/share/man/man9/lockdestroy.9 index 509db8e..3b5e008 100644 --- a/share/man/man9/lockdestroy.9 +++ b/share/man/man9/lockdestroy.9 @@ -33,11 +33,10 @@ .Nm lockdestroy .Nd "Destroys a lock" .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/lockmgr.h> .Ft int -.Fo lockdestroy -.Fa "struct lock *lkp" -.Fc +.Fn lockdestroy "struct lock *lkp" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/lockmgr.9 b/share/man/man9/lockmgr.9 index e54ba7e..94db16e 100644 --- a/share/man/man9/lockmgr.9 +++ b/share/man/man9/lockmgr.9 @@ -33,14 +33,10 @@ .Nm lockmgr .Nd "Aquires, releases and updates locks" .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/lockmgr.h> .Ft int -.Fo lockmgr -.Fa "struct lock *lkp" -.Fa "u_int flags" -.Fa "struct mtx *interlkp" -.Fa "struct proc *p" -.Fc +.Fn lockmgr "struct lock *lkp" "u_int flags" "struct mtx *interlkp" "struct proc *p" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/lockmgr_printinfo.9 b/share/man/man9/lockmgr_printinfo.9 index 141e253..46bcf60 100644 --- a/share/man/man9/lockmgr_printinfo.9 +++ b/share/man/man9/lockmgr_printinfo.9 @@ -33,11 +33,10 @@ .Nm lockmgr_printinfo .Nd "Prints information about the lock." .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/lockmgr.h> .Ft void -.Fo lockmgr_printinfo -.Fa "struct lock *lkp" -.Fc +.Fn lockmgr_printinfo "struct lock *lkp" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/lockstatus.9 b/share/man/man9/lockstatus.9 index cb5ffea..09fc279 100644 --- a/share/man/man9/lockstatus.9 +++ b/share/man/man9/lockstatus.9 @@ -33,12 +33,10 @@ .Nm lockstatus .Nd "Returns the lock status" .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/lockmgr.h> .Ft int -.Fo lockstatus -.Fa "struct lock *lkp" -.Fa "struct proc *p" -.Fc +.Fn lockstatus "struct lock *lkp" "struct proc *p" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/vfs_busy.9 b/share/man/man9/vfs_busy.9 index e0e0f29..9427b77 100644 --- a/share/man/man9/vfs_busy.9 +++ b/share/man/man9/vfs_busy.9 @@ -33,13 +33,10 @@ .Nm vfs_busy .Nd "Marks a mount point as busy." .Sh SYNOPSIS +.Fd #include <sys/param.h> +.Fd #include <sys/mount.h> .Ft int -.Fo vfs_busy -.Fa "struct mount *mp" -.Fa "int flags" -.Fa "struct mtx *interlkp" -.Fa "struct proc *p" -.Fc +.Fn vfs_busy "struct mount *mp" "int flags" "struct mtx *interlkp" "struct proc *p" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/vfs_mount.9 b/share/man/man9/vfs_mount.9 index 7e04fc0..145169e 100644 --- a/share/man/man9/vfs_mount.9 +++ b/share/man/man9/vfs_mount.9 @@ -33,15 +33,10 @@ .Nm vfs_mount .Nd "Generic filesystem mount function" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/mount.h> .Ft int -.Fo vfs_mount -.Fa "struct proc *vp" -.Fa "char *fstype" -.Fa "char *fspath" -.Fa "int fsflags" -.Fa "void *fsdata" -.Fc +.Fn vfs_mount "struct proc *vp" "char *fstype" "char *fspath" "int fsflags" "void *fsdata" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/vfs_unbusy.9 b/share/man/man9/vfs_unbusy.9 index 31c85ff..aa2000a 100644 --- a/share/man/man9/vfs_unbusy.9 +++ b/share/man/man9/vfs_unbusy.9 @@ -33,11 +33,10 @@ .Nm vfs_unbusy .Nd "Unbusy a mount point. .Sh SYNOPSIS +.Fd #include <sys/param.h> +.Fd #include <sys/mount.h> .Ft void -.Fo vfs_unbusy -.Fa "struct mount *mp" -.Fa "struct proc *p" -.Fc +.Fn vfs_unbusy "struct mount *mp" "struct proc *p" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/vinvalbuf.9 b/share/man/man9/vinvalbuf.9 index fdcfb1d..273c195 100644 --- a/share/man/man9/vinvalbuf.9 +++ b/share/man/man9/vinvalbuf.9 @@ -33,16 +33,10 @@ .Nm vinvalbuf .Nd "Flushes and invalidates all buffers associated with a vnode" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/vnode.h> .Ft int -.Fo vinvalbuf -.Fa "struct vnode *vp" -.Fa "int flags" -.Fa "struct ucred *cred" -.Fa "struct proc *p" -.Fa "int slpflag" -.Fa "int slptimeo" -.Fc +.Fn vinvalbuf "struct vnode *vp" "int flags" "struct ucred *cred" "struct proc *p" "int slpflag" "int slptimeo" .Sh DESCRIPTION The .Nm diff --git a/share/man/man9/vn_isdisk.9 b/share/man/man9/vn_isdisk.9 index c0953cc..0ebf3be76 100644 --- a/share/man/man9/vn_isdisk.9 +++ b/share/man/man9/vn_isdisk.9 @@ -33,12 +33,10 @@ .Nm vn_isdisk .Nd "Checks if the vnode represents a disk" .Sh SYNOPSIS +.Fd #include <sys/param.h> .Fd #include <sys/vnode.h> .Ft int -.Fo vn_isdisk -.Fa "struct vnode *vp" -.Fa "int *errp" -.Fc +.Fn vn_isdisk "struct vnode *vp" "int *errp" .Sh DESCRIPTION The .Nm |