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