🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3071

Re: Casting Function Pointers

#3071
From: Henry Spencer
Date: Sat, 25 May 1991 22:17
10 lines
924 bytes
In article <16259@smoke.brl.mil> gwyn@smoke.brl.mil (Doug Gwyn) writes:
>I'm not aware of any changes between the final draft of K&R2 (first printing)
>and the official C standard that would make K&R2 less correct...

I know of at least one -- it's no longer promised that casting a pointer to
integer and back preserves its value if the integer is big enough -- and
there are probably a few more.
-- 
"We're thinking about upgrading from    | Henry Spencer @ U of Toronto Zoology
SunOS 4.1.1 to SunOS 3.5."              |  henry@zoo.toronto.edu  utzoo!henry
Technical Details
Message-ID: <1991May25.221756.16182@zoo.toronto.edu>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <1145@mwtech.UUCP> <1991May24.005025.7714@tkou02.enet.dec.com> <16259@smoke.brl.mil>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Casting Function Pointers
Message-ID: <1991May25.221756.16182@zoo.toronto.edu>
Date: Sat, 25 May 1991 22:17:56 GMT
References: <1145@mwtech.UUCP> <1991May24.005025.7714@tkou02.enet.dec.com> <16259@smoke.brl.mil>
Organization: U of Toronto Zoology