TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jonathan de Boyne Pollard
from: Paul Edwards
date: 1995-12-31 22:10:04
subject: malloc question

>         printf("Unsigned Ints have %u bits.\n",
 >                sizeof(unsigned int) * CHAR_BIT);
 
JdBP>   Strictly speaking, it's not portable.  Although it is generally agreed
JdBP>   that in ISO Standard C there are no "hidden bits" in
an unsigned char
JdBP>   (in order to satisfy some of the semantics of memcpy()), it is *not*
JdBP>   guaranteed that other integral types will not have hidden bits.

That's the first time I've heard that.  Can you quote something
that says that?  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.