comp.lang.ada
 help / color / mirror / Atom feed
From: "R. Michael Gillmore" <rmgillmore@collins.rockwell.com>
Subject: Re: How should I access variable length data associated with message headers?
Date: 1997/12/12
Date: 1997-12-12T00:00:00+00:00	[thread overview]
Message-ID: <34919F4A.2472@collins.rockwell.com> (raw)
In-Reply-To: 34919C2B.35F8@collins.rockwell.com


R. Michael Gillmore wrote:
> 
> I was reading the FAQ this afternoon when this question caught my
> attention:
> 
> 2.6:    I came across some code that declared a structure with the last
>         member an array of one element, and then did some tricky
>         allocation to make it act like the array had several elements.
>         Is this legal or portable?
> 
> A:      An official interpretation has deemed that it is not strictly
>         conforming with the C Standard.
> 
> I have done this for nearly as long as I have been writing C.  Is
> there another method to use for this?
> 
> --
> R. Michael "Okie" Gillmore
> Use: rmgillmo @ cca.rockwell.com
> 
> First law of parenting:
> 
> "...  I have nourished and brought up children, and they have
>  rebelled against me."
>                                 -- Isaiah 1:2

Sorry ... Wrong news group.  Please excuse me.

Mike
-- 
R. Michael "Okie" Gillmore
Use: rmgillmo @ cca.rockwell.com

    "... I have nourished and brought up children, and they have
     rebelled against me."
                        -- Isaiah 1:2




  reply	other threads:[~1997-12-12  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-12  0:00 How should I access variable length data associated with message headers? R. Michael Gillmore
1997-12-12  0:00 ` R. Michael Gillmore [this message]
1997-12-15  0:00   ` Michael F Brenner
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox