Undelivered mail

MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU
Sun Mar 13 06:30:21 AEST 1988


Subject:  Re: Header problems

[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 8047
          for SXJVK at ALASKA; Sat, 12 Mar 88 10:51 AST
Received: by UWAVM (Mailer X1.25) id 5422; Sat, 12 Mar 88 11:50:37 PST
Date:         Thu, 10 Mar 88 19:02:12 GMT
Reply-To:     Info-C at BRL.ARPA
Sender:       Info-C List <INFO-C at NDSUVM1>
From:         Mark Brader <msb at sq.uucp>
Subject:      Re: Header problems
Comments: To: info-c at brl-smoke.arpa
To:           Vic Kapella <SXJVK at ALASKA>

> By the way, if you call f(0) where f expects a char *, the requirement
> for it to work is not simply that sizeof(int) == sizeof(char *), but
> also that (int)0 and (char *)0 have the same bit representation.

*And* that the implementation passes integer and pointer type values to
functions in the same manner.  Remember, arguments can be passed in registers
and machines can have several types of registers.

*Never* say f(0) or f(NULL).

Mark Brader, SoftQuad Inc., Toronto, utzoo!sq!msb, msb at sq.com
#define    MSB(type)    (~(((unsigned type)-1)>>1))



More information about the Comp.lang.c mailing list