fnctl -> fcntl

This commit is contained in:
gmcgarry 2001-10-22 19:22:42 +00:00
parent 44b78e0623
commit ec7180252d
4 changed files with 19 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.389 2001/10/22 18:04:07 kleink Exp $
# $NetBSD: mi,v 1.390 2001/10/22 19:27:06 gmcgarry Exp $
./sys comp-sysutil-root
./usr/bin/addr2line comp-debug-bin
./usr/bin/ar comp-util-bin
@ -3286,7 +3286,7 @@
./usr/share/man/cat9/vn_close.0 comp-sys-catman
./usr/share/man/cat9/vn_closefile.0 comp-sys-catman
./usr/share/man/cat9/vn_default_error.0 comp-sys-catman
./usr/share/man/cat9/vn_fnctl.0 comp-sys-catman
./usr/share/man/cat9/vn_fcntl.0 comp-sys-catman
./usr/share/man/cat9/vn_ioctl.0 comp-sys-catman
./usr/share/man/cat9/vn_isunder.0 comp-sys-catman
./usr/share/man/cat9/vn_lock.0 comp-sys-catman
@ -5622,7 +5622,7 @@
./usr/share/man/man9/vn_close.9 comp-sys-man
./usr/share/man/man9/vn_closefile.9 comp-sys-man
./usr/share/man/man9/vn_default_error.9 comp-sys-man
./usr/share/man/man9/vn_fnctl.9 comp-sys-man
./usr/share/man/man9/vn_fcntl.9 comp-sys-man
./usr/share/man/man9/vn_ioctl.9 comp-sys-man
./usr/share/man/man9/vn_isunder.9 comp-sys-man
./usr/share/man/man9/vn_lock.9 comp-sys-man

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.94 2001/10/22 03:34:39 gmcgarry Exp $
# $NetBSD: Makefile,v 1.95 2001/10/22 19:22:43 gmcgarry Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@ -367,7 +367,7 @@ MLINKS+=vnodeops.9 VOP_LOOKUP.9 \
vnodeops.9 VOP_READ.9 \
vnodeops.9 VOP_WRITE.9 \
vnodeops.9 VOP_IOCTL.9 \
vnodeops.9 VOP_FNCTL.9 \
vnodeops.9 VOP_FCNTL.9 \
vnodeops.9 VOP_POLL.9 \
vnodeops.9 VOP_REVOKE.9 \
vnodeops.9 VOP_MMAP.9 \

View File

@ -1,4 +1,4 @@
.\" $NetBSD: vnodeops.9,v 1.2 2001/10/22 08:21:33 wiz Exp $
.\" $NetBSD: vnodeops.9,v 1.3 2001/10/22 19:22:42 gmcgarry Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -50,7 +50,7 @@
.Nm VOP_READ ,
.Nm VOP_WRITE ,
.Nm VOP_IOCTL ,
.Nm VOP_FNCTL ,
.Nm VOP_FCNTL ,
.Nm VOP_POLL ,
.Nm VOP_REVOKE ,
.Nm VOP_MMAP ,
@ -96,7 +96,7 @@
.Fd #include <sys/mount.h>
.Fd #include <sys/namei.h>
.Fd #include <sys/unistd.h>
.Fd #include <sys/fnctl.h>
.Fd #include <sys/fcntl.h>
.Fd #include <sys/lockf.h>
.Ft int
.Fn VOP_LOOKUP "struct vnode *dvp" "struct vnode **vpp" \
@ -132,7 +132,7 @@
.Fn VOP_IOCTL "struct vnode *vp" "u_long command" "caddr_t data" \
"int fflag" "struct ucred *cred" "struct proc *p"
.Ft int
.Fn VOP_FNCTL "struct vnode *vp" "u_int command" "caddr_t data" \
.Fn VOP_FCNTL "struct vnode *vp" "u_int command" "caddr_t data" \
"int fflag" "struct ucred *cred" "struct proc *p"
.Ft int
.Fn VOP_POLL "struct vnode *vp" "int events" "struct proc *p"
@ -262,7 +262,7 @@ int (*vop_setattr)() VOP_SETATTR Set file attributes
int (*vop_read)() VOP_READ Read from a file
int (*vop_write)() VOP_WRITE Write to a file
int (*vop_ioctl)() VOP_IOCTL Perform device-specific I/O
int (*vop_fnctl)() VOP_FNCTL Perform file control
int (*vop_fcntl)() VOP_FCNTL Perform file control
int (*vop_poll)() VOP_POLL Test if poll event has occurred
int (*vop_revoke)() VOP_REVOKE Eliminate vode activity
int (*vop_mmap)() VOP_MMAP Map file into user address space
@ -688,7 +688,7 @@ Most file systems do not supply a function for
This function implments the
.Xr ioctl 2
sustem call.
.It Fn VOP_FNCTL "vp" "command" "data" "fflag" "cred" "p"
.It Fn VOP_FCNTL "vp" "command" "data" "fflag" "cred" "p"
Perform file control. The argument
.Fa vp
is the locked vnode of the file. The
@ -1088,7 +1088,7 @@ is the vnode is the file for the advisory record lock. The argument
is the id token which is changing the lock and
.Fa op
is the
.Xr fnctl 2
.Xr fcntl 2
operation to perform. The argument
.Fa fl
is a description of the lock. The argument

View File

@ -1,4 +1,4 @@
.\" $NetBSD: vnsubr.9,v 1.2 2001/10/22 08:21:33 wiz Exp $
.\" $NetBSD: vnsubr.9,v 1.3 2001/10/22 19:22:43 gmcgarry Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -43,7 +43,7 @@
.Nm vn_close ,
.Nm vn_closefile ,
.Nm vn_default_error ,
.Nm vn_fnctl ,
.Nm vn_fcntl ,
.Nm vn_ioctl ,
.Nm vn_isunder ,
.Nm vn_lock ,
@ -70,7 +70,7 @@
.Ft int
.Fn vn_default_error "void *v"
.Ft int
.Fn vn_fnctl "struct file *fp" "u_int com" "caddr_t data" "struct proc *p"
.Fn vn_fcntl "struct file *fp" "u_int com" "caddr_t data" "struct proc *p"
.Ft int
.Fn vn_ioctl "struct file *fp" "u_long com" "caddr_t data" "struct proc *p"
.Ft int
@ -140,18 +140,18 @@ with the appropriate arguments.
A generic "default" routine that just returns error. It is used by a
file system to specify unsupported operations in the vnode operations
vector.
.It Fn vn_fnctl "fp" "com" "data" "p"
.It Fn vn_fcntl "fp" "com" "data" "p"
Common code for a file table vnode
.Xr fnctl 2
.Xr fcntl 2
operation. The file is
specified by
.Fa fp .
The argument
.Fa p
is the calling process.
.Fn vn_fnctl
.Fn vn_fcntl
simply locks the vnode and invokes the vnode operation
.Xr VOP_FNCTL 9
.Xr VOP_FCNTL 9
with the command
.Fa com
and buffer