Re: sizeof(char) == 1

chip@atlantic.net
Wed, 21 Jan 1998 21:56:39 -0500 (EST)


According to Jim Bourne:
> Correct me if I'm wrong, but what if the size of a char is *not* one byte as
> Linux is ported to more hardware platforms then any other OS that I know of.

The C standard requires that the char be the smallest unit, and that
sizeof(char)==1.

-- 
Chip Salzenberg              - a.k.a. -              <chip@pobox.com>
                 "We can shower it with neutrons."
             "Or we can do the Neutron Dance!"  // MST3K