Fixed #include and/or prototype bugs in synopsis.

This commit is contained in:
Bruce Evans 1997-04-13 14:49:13 +00:00
parent b18e517615
commit 2e14815b84
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24890
51 changed files with 122 additions and 71 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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>

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 .

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 ...

View File

@ -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"

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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