Subject: Re: ioctl and EOPNOTSUPP
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 06/04/2003 21:42:12
In article <email@example.com>,
Ian Zagorskih <firstname.lastname@example.org> wrote:
>On Wednesday 04 June 2003 13:25, Simon Burge wrote:
>...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.