Article View: comp.std.c
Article #4085Re: Function-prototype scope: Why?
From: Michael Meissner
Date: Fri, 22 Sep 1995 16:12
Date: Fri, 22 Sep 1995 16:12
18 lines
1252 bytes
1252 bytes
In article <43s7k4$j2v@gatekeeper.atml.co.uk> jrr@atml.co.uk (John Rickard) writes: | Stan Ryckman (sgr@ae-sun01.alden.com) wrote: | : All pointers-to-struct must have the same "shape" | | Is that so? I've often written code that makes that assumption, but I | can't find any justification for it in the standard. Can you give | references? Because if they didn't, then you couldn't reliably write code that uses: struct unknown_in_this_module *ptr as an opaque pointer. -- Michael Meissner, Cygnus Support (East Coast) Suite 105, 48 Grove Street, Somerville, MA 02144, USA meissner@cygnus.com, 617-629-3016 (office), 617-629-3010 (fax)
Technical Details
Message-ID:
<MEISSNER.95Sep22121246@tiktok.cygnus.com>Path:
arc1-ca.pugleaf.net!cambridge-news.cygnus.com!meissnerReferences:
<43cgmb$cec@news0.rain.rg.net> <43er80$458@caip.rutgers.edu> <43pdgk$b3i@rdsunx.crd.ge.com> <43qjdk$loj@caip.rutgers.edu> <43qod5$clf@ae-sun01.alden.com> <43s7k4$j2v@gatekeeper.atml.co.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cambridge-news.cygnus.com!meissner From: meissner@cygnus.com (Michael Meissner) Newsgroups: comp.std.c Subject: Re: Function-prototype scope: Why? Date: 22 Sep 1995 16:12:46 GMT Organization: Cygnus Support Message-ID: <MEISSNER.95Sep22121246@tiktok.cygnus.com> References: <43cgmb$cec@news0.rain.rg.net> <43er80$458@caip.rutgers.edu> <43pdgk$b3i@rdsunx.crd.ge.com> <43qjdk$loj@caip.rutgers.edu> <43qod5$clf@ae-sun01.alden.com> <43s7k4$j2v@gatekeeper.atml.co.uk> NNTP-Posting-Host: tiktok.cygnus.com In-reply-to: jrr@atml.co.uk's message of 21 Sep 1995 17:32:52 GMT