Article View: comp.std.c
Article #107Re: Aligning an arbitrary pointer?
From: John F. Woods
Date: Tue, 21 Jul 1992 16:19
Date: Tue, 21 Jul 1992 16:19
12 lines
1154 bytes
1154 bytes
barmar@think.com (Barry Margolin) writes: >>I guess I still think that questions on how/if certain things can be >>done in conformant C are legitimate for comp.std.c, but I'm willing >>to be persuaded otherwise by a concensus... anyone? >i don't think it's worthwhile debating it, so I'll keep replying here. I think it is valuable to ask questions like that, but the problem is that too many of the answers are "well, if your machine allows you to cast pointers to integers with no change in bits, then you could do this"; if folks are going to post the answer on comp.std.c, it would be nice if they'd constrain the answers to what the Standard actually says is guaranteed...
Technical Details
Message-ID:
<14006@ksr.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!usc!sdd.hp.com!mips!pacbell.com!decwrl!world!ksr!jfwReferences:
<PDS.92Jul16111642@lemming.webo.dg.com> <1473f4INNq24@early-bird.think.com> <PDS.92Jul18154500@lemming.webo.dg.com> <14f6u9INNon7@early-bird.think.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!usc!sdd.hp.com!mips!pacbell.com!decwrl!world!ksr!jfw From: jfw@ksr.com (John F. Woods) Newsgroups: comp.std.c Subject: Re: Aligning an arbitrary pointer? Message-ID: <14006@ksr.com> Date: 21 Jul 92 12:19:51 EDT References: <PDS.92Jul16111642@lemming.webo.dg.com> <1473f4INNq24@early-bird.think.com> <PDS.92Jul18154500@lemming.webo.dg.com> <14f6u9INNon7@early-bird.think.com> Sender: news@ksr.com Lines: 12