linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Anshuman S. Rawat" <asr@cs.columbia.edu>
To: linux-c-programming@vger.kernel.org
Subject: array size 1 ?
Date: Tue, 20 Jul 2004 12:47:27 -0400	[thread overview]
Message-ID: <002601c46e79$3da5f100$d3113b80@Viper> (raw)
In-Reply-To: 40F475FC.9090202@comcast.net

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



  reply	other threads:[~2004-07-20 16:47 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     ` Anshuman S. Rawat [this message]
2004-07-21  2:49       ` array size 1 ? Luiz Fernando N. Capitulino
2004-07-21  3:48       ` Glynn Clements
2004-08-08  5:37       ` Sascha Retzki
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='002601c46e79$3da5f100$d3113b80@Viper' \
    --to=asr@cs.columbia.edu \
    --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).