diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/VOP_IOCTL.9 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/man/man9/VOP_IOCTL.9 b/share/man/man9/VOP_IOCTL.9 index f25787a..5265d74 100644 --- a/share/man/man9/VOP_IOCTL.9 +++ b/share/man/man9/VOP_IOCTL.9 @@ -63,13 +63,16 @@ Most filesystems do not implement this entry point. The file should not be locked on entry. .Sh RETURN VALUES If successful, zero is returned, otherwise an appropriate error code. +.Pp +If the ioctl is not recognized or not handled, ENOTTY should be returned. .Sh PSEUDOCODE .Bd -literal int vop_ioctl(struct vnode *vp, int command, caddr_t data, int fflag, struct ucred *cred, struct thread *td) { - return EOPNOTSUPP; + + return ENOTTY; } .Ed .Sh SEE ALSO |