NAME VOP_IOCTL - device specific control CONTENTS Synopsis Description Locks Return Values Pseudocode See Also Authors SYNOPSIS .In sys/param.h .In 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:
Its arguments are:
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. PSEUDOCODE int vop_ioctl(struct vnode *vp, int command, caddr_t data, int fflag, struct ucred *cred, struct thread *td) { return ENOTTY; } SEE ALSO vnode(9) AUTHORS
If the ioctl is not recognized or not handled, ENOTTY should be returned. PSEUDOCODE int vop_ioctl(struct vnode *vp, int command, caddr_t data, int fflag, struct ucred *cred, struct thread *td) { return ENOTTY; } SEE ALSO vnode(9) AUTHORS
return ENOTTY; } SEE ALSO vnode(9) AUTHORS