linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sascha Retzki <lantis@iqranet.info>
To: linux-c-programming@vger.kernel.org
Subject: Re: array size 1 ?
Date: Sun, 08 Aug 2004 07:37:54 +0200	[thread overview]
Message-ID: <1091943474.1291.0.camel@linux.local> (raw)
In-Reply-To: <002601c46e79$3da5f100$d3113b80@Viper>

Am Di, 2004-07-20 um 18.47 schrieb Anshuman S. Rawat:
> Hi,
> What does an array of size 1 mean? or maybe I might be putting it wrong, so
> here's the declaration -
> 
> struct option_state {
>     int refcnt;
>     int universe_count;
>     int site_universe;
>     int site_code_min;
>     VOIDPTR universes[1];
> };
> 
> (code from ISC DHCP sources includes/dhcpd.h)
> 
> What does universes[1] mean here?
> 
> Thanks.
> -Anshu
> 


Came across this:
http://www.eskimo.com/~scs/C-faq/q2.6.html



  parent reply	other threads:[~2004-08-08  5:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-10  0:43 Garbage Collection and Swap John Richard Moser
2004-07-10  2:32 ` William Lee Irwin III
2004-07-10  3:10   ` John Richard Moser
2004-07-11  0:57 ` Rik van Riel
2004-07-11  1:06   ` Rik van Riel
2004-07-11  2:10     ` John Richard Moser
2004-07-13 22:10 ` Timothy Miller
2004-07-13 23:53   ` John Richard Moser
2004-07-20 16:47     ` array size 1 ? Anshuman S. Rawat
2004-07-21  2:49       ` Luiz Fernando N. Capitulino
2004-07-21  3:48       ` Glynn Clements
2004-08-08  5:37       ` Sascha Retzki [this message]
2004-07-14 10:20   ` Garbage Collection and Swap IVAN DE JESUS DERAS TABORA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1091943474.1291.0.camel@linux.local \
    --to=lantis@iqranet.info \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).