Subject: Re: Why does mode_t need 32 bits?
To: None <tech-kern@NetBSD.ORG>
From: Mike Long <mikel@shore.net>
List: tech-kern
Date: 11/01/1997 00:45:53
>From: "Chris G. Demetriou" <cgd@pa.dec.com>
>Date: Fri, 31 Oct 97 15:12:38 -0800
>The 'correct' type in this case really is one which is "32 bits or
>larger, as convenient for the machine." On all existing platforms,
>that'd be 32-bits, so it wouldn't be a binary compatibility problem.
>
>I seem to recall that some standard was going specify such types, but
>I don't know what happened (or even which standard).
I should probably let Peter Seebach answer this one, but I believe ISO
C 9x will specify types for both fixed-size and this-size-or-greater
integers.
--
Mike Long <mikel@shore.net> http://www.shore.net/~mikel
"Every normal man must be tempted at times to spit on his hands,
hoist the black flag, and begin slitting throats." -- H.L. Mencken