php man page for vop_ioctl

Query: vop_ioctl

OS: php

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

VOP_IOCTL(9)						   BSD Kernel Developer's Manual					      VOP_IOCTL(9)

NAME
VOP_IOCTL -- device specific control
SYNOPSIS
#include <sys/param.h> #include <sys/vnode.h> int VOP_IOCTL(struct vnode *vp, u_long command, caddr_t data, int fflag, struct ucred *cred, struct thread *td);
DESCRIPTION
Manipulate a file in device dependent ways. Its arguments are: vp The vnode of the file (normally representing a device). command The device specific operation to perform. data Extra data for the specified operation. fflag Some flags ??? cred The caller's credentials. td The calling thread. Most file systems do not implement this entry point.
LOCKS
The file should not be locked on entry.
RETURN VALUES
If successful, zero is returned, otherwise an appropriate error code. If the ioctl is not recognized or not handled, ENOTTY should be returned.
SEE ALSO
vnode(9)
AUTHORS
This manual page was written by Doug Rabson.
BSD
July 24, 1996 BSD
Related Man Pages
vop_openclose(9) - freebsd
vop_accessx(9) - freebsd
vop_open(9) - freebsd
vop_access(9) - centos
vop_access(9) - redhat
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch