[Zlib-devel] crc32 big/little endian

glennrp at comcast.net glennrp at comcast.net
Thu Apr 22 06:52:17 EDT 2010


----- Original Message -----
From: "Mark Adler" <madler at alumni.caltech.edu>

> I can't find my K&R 1st edition to see what it says about that.

     I don't have a 2nd edition, but my 1st edition only says that int is the "natural size" for the machine;  "about all you should count on is that short is no longer than long"; and "Up to three sizes of integer, declared short int, int, and long int, are available.  Longer integers provide no less storage than shorter ones, but the implementation may make either short integers, or long integers, or both, equivalent to plain integers.";
and it provides examples for several machines.

Glenn




More information about the Zlib-devel mailing list