On May 19, 2000, Peter Eisentraut <[EMAIL PROTECTED]> wrote:

> Alexandre Oliva writes:
>> >                    [The number of bytes in a `]$1['.])
>> ^^^^^ chars, actually
>> 
>> sizeof(char) == 1 always holds, but it doesn't have to be a byte.

> K&R1 says:

It's outdated.  The C and the C++ standards specify that
sizeof(char)==1, but a char can be larger than a byte.

> In any case, "the number of chars in a `long int'" seems
> unnecessarily confusing.

Indeed.  How about ``The size of a `long int', as computed by sizeof''.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to