Subject: Re: ioctl and EOPNOTSUPP
To: None <>
From: Christos Zoulas <>
List: tech-kern
Date: 06/04/2003 21:42:12
In article <>,
Ian Zagorskih <> wrote:
>On Wednesday 04 June 2003 13:25, Simon Burge wrote:
>According to:
>...both ENOTTY and EOPNOTSUP are required by POSIX.

Read carefully. EOPNOTSUP is only meaningful on sockets, not as the return
value of ioctl(). In fact, if you look at the man page for ioctl(), you'll see
that EOPNOTSUP is not supposed to be returned by ioctl().

I don't the ENOTTY kitchensink approach but the standards mandate otherwise.