On Fri, Feb 07, 2003 at 02:32:20PM +0000, Alan Cox wrote: > -ENOSYS is the normal return for an unknown syscall. -ENOTTY for an > invalid ioctl (-EINVAL I think is wrong ?) About a year ago -ENOTTY was explained like this: IOW, "not a tty" used to mean "WTF are you using ioctls here?" - Al Viro explaining ENOTTY on linux-kernel (Hey, the kernelnewbies.org fortunes file is useful, right? ;) Erik -- J.A.K. (Erik) Mouw Email: J.A.K.Mouw@its.tudelft.nl mouw@nl.linux.org