BSD bzero() & NULL

Henry Spencer henry at zoo.toronto.edu
Fri Nov 16 03:56:16 AEST 1990


In article <RJC.90Nov15073451 at brodie.uk.ac.ed.cstr> rjc at uk.ac.ed.cstr (Richard Caley) writes:
>Does the standard demand that the bit pattern for then integer 0 be
>`all zeros'...

The standard demands that integer types use a "pure binary numeration
system", which is nailed down in detail in another ANSI standard.

Of course, an implementation can do whatever it pleases provided that the
observable behavior is identical to what the standard calls for.  This
includes the bit patterns written to files, however.
-- 
"I don't *want* to be normal!"         | Henry Spencer at U of Toronto Zoology
"Not to worry."                        |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list