VOP_IOCTL.9 (3a9c9c6e42f8e94faf46b6f18caf9aaa22bbf26f) | VOP_IOCTL.9 (b18e517615158bedcdbbf3443380b001c4f57f1a) |
---|---|
1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 1996 Doug Rabson 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 12 unchanged lines hidden (view full) --- 21.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" | 1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 1996 Doug Rabson 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 12 unchanged lines hidden (view full) --- 21.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" |
29.\" $Id: VOP_IOCTL.9,v 1.1 1997/03/03 18:00:21 dfr Exp $ | 29.\" $Id: VOP_IOCTL.9,v 1.2 1997/03/04 06:20:42 mpp Exp $ |
30.\" 31.Dd July 24, 1996 32.Os 33.Dt VOP_IOCTL 9 34.Sh NAME 35.Nm VOP_IOCTL 36.Nd device specific control 37.Sh SYNOPSIS | 30.\" 31.Dd July 24, 1996 32.Os 33.Dt VOP_IOCTL 9 34.Sh NAME 35.Nm VOP_IOCTL 36.Nd device specific control 37.Sh SYNOPSIS |
38.Fd #include <sys/param.h> |
|
38.Fd #include <sys/vnode.h> 39.Ft int | 39.Fd #include <sys/vnode.h> 40.Ft int |
40.Fn VOP_IOCTL "struct vnode *vp" "int command" "caddr_t data" "int fflag" "struct ucred *cred" "struct proc *p" | 41.Fn VOP_IOCTL "struct vnode *vp" "u_long command" "caddr_t data" "int fflag" "struct ucred *cred" "struct proc *p" |
41.Sh DESCRIPTION 42Manipulate a file in device dependent ways. 43.Pp 44Its arguments are: 45.Bl -tag -width command 46.It Ar vp 47the vnode of the file (normally representing a device) 48.It Ar command --- 30 unchanged lines hidden --- | 42.Sh DESCRIPTION 43Manipulate a file in device dependent ways. 44.Pp 45Its arguments are: 46.Bl -tag -width command 47.It Ar vp 48the vnode of the file (normally representing a device) 49.It Ar command --- 30 unchanged lines hidden --- |