Undelivered mail
MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU
MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU
Sat Mar 12 21:41:58 AEST 1988
Subject: Re: sizeof(char)
[Non-Deliverable: User does not exist or has never logged on]
Reply-To: Info-C at BRL.ARPA
Received: From UWAVM(MAILER) by ALASKA with Jnet id 7424
for SXJVK at ALASKA; Sat, 12 Mar 88 02:18 AST
Received: by UWAVM (Mailer X1.25) id 5052; Sat, 12 Mar 88 03:18:15 PST
Date: Fri, 11 Mar 88 18:26:54 GMT
Reply-To: Info-C at BRL.ARPA
Sender: Info-C List <INFO-C at NDSUVM1>
From: Rahul Dhesi <dhesi at bsu-cs.uucp>
Subject: Re: sizeof(char)
Comments: To: info-c at BRL-SMOKE.arpa
To: Vic Kapella <SXJVK at ALASKA>
In article <2328 at bsu-cs.UUCP> I wrote:
>And nowhere do I find
>K&R saying that byte == char == 1 unit is simply a compiler peculiarity
>and not a design assumption in the language.
Looking again, more carefully this time, I find this on page 188:
A byte is undefined by the language except in terms of the value
of sizeof.
And yet, looking at the extensive discussion of a function alloc() to
allocate memory and a portable implementation of it, we find that char
and byte are used synonymously in the examples given. See pages 96-98
and then 173-177.
--
Rahul Dhesi UUCP: <backbones>!{iuvax,pur-ee,uunet}!bsu-cs!dhesi
More information about the Comp.lang.c
mailing list