diff options
author | phk <phk@FreeBSD.org> | 2002-09-26 14:10:21 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-26 14:10:21 +0000 |
commit | e9e26cca9c87e7ea4269247999266dc2d9de2e27 (patch) | |
tree | 197745b8fc40be4f2a9cd136f3d3031280ca8317 /share/man | |
parent | bd3b8669b156628d7933508fa0301864f59d0ef0 (diff) | |
download | FreeBSD-src-e9e26cca9c87e7ea4269247999266dc2d9de2e27.zip FreeBSD-src-e9e26cca9c87e7ea4269247999266dc2d9de2e27.tar.gz |
Document that ENOTTY is the correct "default" error return;
Diffstat (limited to 'share/man')
-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 |