lkml.org 
[lkml]   [2003]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: two x86_64 fixes for 2.4.21-pre3
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.060 / U:46.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site