| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| 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™.