On Wed, Nov 12, 2014 at 8:41 PM, Donn Cave <donn@avvanta.com> wrote:
quoth Richard A. O'Keefe,
...
> (This actually strikes me as a flaw in Mac OS X:
> `typedef unsigned long tcflag_t;' should have been
> `typedef uint32_t tcflag_t;'
> because there's no _reason_ for the field size to change
> this way.)

True, it's crazy to have structures changing size like that
when the effective size of each field is fixed per standard.

For what it's worth, this like many other things was inherited from FreeBSD. (See /usr/include/sys/_termios.h therein, which I chased down from /usr/include/termios.h.) 

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net