TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: andrew clarke
from: Paul Edwards
date: 1996-10-08 13:00:30
subject: Auto string-length determination

ac>> sizeof(char) == 1 [byte] on all platforms.

> Depends on what you call a byte.

ac> "Byte --- the unit of data storage in the execution environment large 
ac> enough to hold any member of the basic character set of the execution 
ac> environment."
ac> - ANSI C draft specification

Wow!  Thanks.  That's the first time I've ever heard of a byte being
something other than 8 bits.  I obviously hung around an
implementation-specific group of people for too long!  I will change to the
"new" definition forthwith!  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™.