This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [WIP] BZ #14361: POSIX vs. BSD and the `ioctl' interface.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: Carlos O'Donell <carlos_odonell at mentor dot com>, libc-alpha <libc-alpha at sourceware dot org>, Chris Metcalf <cmetcalf at tilera dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Thu, 26 Jul 2012 00:04:42 +0200
- Subject: Re: [WIP] BZ #14361: POSIX vs. BSD and the `ioctl' interface.
- References: <500E1CA6.7050607@mentor.com><20120725213923.21E442C0F6@topped-with-meat.com>
Roland McGrath <roland@hack.frob.com> writes:
> (I suspect that strace on tilegx and mipsn64 for an ioctl with the
> 32nd bit set displays unhelpful values today because of that
> sign-extension.)
strace basically only looks at the low 16 bits of the number, which is
where the type/nr is encoded.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."