bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <sys/ioctl.h> status


From: Eric Blake
Subject: Re: <sys/ioctl.h> status
Date: Fri, 10 Oct 2008 06:58:43 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Simon Josefsson on 10/10/2008 3:01 AM:
> 
> Does the new POSIX document change anything?  I notice that "ioctl.h"
> doesn't result in anything on the current opengroup.org site.

Yes.  It deprecates STREAMS, and renders the use of <stropts.h> obsolete
(it is still documented, but including it is discouraged).

In general, ioctl is too implementation-specific to portably specify,
which is why opengroup.org only documented it under the STREAMS interface
(which was the only use of ioctl where the functionality could be nailed
down portably), but now that POSIX 200x is conceding the fact that no one
uses the STREAMS interface, it effectively goes back into the realm of an
unspecified function.  I would much rather see ioctl in <sys/ioctl.h> than
<stropts.h>, even though POSIX will probably never standardize <sys/ioctl.h>.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjvUYMACgkQ84KuGfSFAYAh+gCfSBZDc9HiN5ma46LKE5MybQY8
LjUAoIQ885BsFsF3QjipD1pJhoQz5zkv
=cW9j
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]