Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #27908

Re: kandr2 question

From James Kuyper <jameskuyper@verizon.net>
Newsgroups comp.lang.c
Subject Re: kandr2 question
Date 2012-10-31 10:38 -0400
Organization A noiseless patient Spider
Message-ID <509137DC.6020007@verizon.net> (permalink)
References <k6phhi$kuq$1@dont-email.me> <ln7gq7r1sc.fsf@nuthaus.mib.org> <0.197d8109ec2cea54419e.20121030233117GMT.874nlb1qre.fsf@bsb.me.uk> <30f35554-1796-4cde-a221-3c4d26f9e345@sh1g2000pbc.googlegroups.com>

Show all headers | View raw


On 10/31/2012 08:43 AM, Anand Hariharan wrote:
> On Oct 30, 6:31 pm, Ben Bacarisse <ben.use...@bsb.me.uk> wrote:
>> Keith Thompson <ks...@mib.org> writes:
...
>>> [...]  Furthermore, C99
>>> added features that let you express additional information between
>>> the square brackets.  This:
>>
>>>     void func(char s[42]);
>>
>> I think you mean func(char s[static 42]);
>>
>>> requires s to point to the first element of an array of *at least*
>>> 42 elements.
>>
>> <snip>
> 
> 
> Is there a document (that can be read/understood by ordinary mortals)
> that explains all the different meanings of 'static'?

I've read and understood the standard; but perhaps I shouldn't consider
myself an "ordinary mortal"?

In themselves, the other meanings of 'static' aren't very complicated:
At file scope, the 'static' keyword gives function or object identifiers
internal linkage. (6.2.2p3)
At block scope, it gives objects static storage duration. (6.2.4p3)

If you need an explanation of what "internal linkage" or "static storage
duration" mean, that's a little more complicated.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 17:41 -0500
  Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 14:48 -0700
    Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 17:50 -0500
      Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 14:56 -0700
        Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 15:01 -0700
          Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:07 -0700
            Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:12 -0500
              Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:15 -0700
                Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:25 -0500
                Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:27 -0700
                Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:59 -0500
                Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:29 -0800
            Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 15:30 -0700
              Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:36 -0700
            Re: kandr2 question Kenneth Brody <kenbrody@spamcop.net> - 2012-10-31 14:15 -0400
        Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:04 -0500
          Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:07 -0700
            Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:09 -0500
              Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:13 -0700
                Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:30 -0500
                Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:50 -0700
                Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 19:28 -0500
                Re: kandr2 question Lew Pitcher <lpitcher@teksavvy.com> - 2012-10-30 19:39 -0400
                Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 19:50 -0500
                Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:45 -0800
                Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:43 -0800
                Re: kandr2 question Kenneth Brody <kenbrody@spamcop.net> - 2012-10-31 14:21 -0400
                Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:43 -0800
              Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:40 -0800
          Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 15:31 -0700
            Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:36 -0700
          Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:37 -0800
        Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:07 -0500
          Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:10 -0700
            Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:47 -0500
              Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:52 -0700
        Re: kandr2 question "BartC" <bc@freeuk.com> - 2012-10-30 22:08 +0000
          Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:11 -0700
            Re: kandr2 question James Kuyper <jameskuyper@verizon.net> - 2012-10-30 18:36 -0400
              Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:44 -0500
                Re: kandr2 question tom st denis <tom@iahu.ca> - 2012-10-30 15:53 -0700
                Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 19:06 -0500
                Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 19:12 -0500
            Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:49 -0800
        Re: kandr2 question Old Wolf <oldwolf@inspire.net.nz> - 2012-11-11 14:37 -0800
      Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:27 -0800
  Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 15:00 -0700
    Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 18:18 -0500
  Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 16:13 -0700
    Re: kandr2 question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-10-30 23:31 +0000
      Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 17:45 -0700
      Re: kandr2 question Anand Hariharan <mailto.anand.hariharan@gmail.com> - 2012-10-31 05:43 -0700
        Re: kandr2 question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-10-31 13:33 +0000
          Re: kandr2 question James Kuyper <jameskuyper@verizon.net> - 2012-10-31 10:27 -0400
            Re: kandr2 question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-10-31 16:11 +0000
              Re: kandr2 question Anand Hariharan <mailto.anand.hariharan@gmail.com> - 2012-11-07 14:53 -0800
        Re: kandr2 question James Kuyper <jameskuyper@verizon.net> - 2012-10-31 10:38 -0400
    Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-30 19:39 -0500
      Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-30 17:51 -0700
        Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 13:47 -0500
          Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:55 -0800
        Re: kandr2 question Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2012-10-31 19:48 +0200
        Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 06:52 -0800
          Re: kandr2 question hormelfree@gmail.com - 2012-11-10 11:23 -0800
    Re: kandr2 question "BartC" <bc@freeuk.com> - 2012-10-31 01:56 +0000
  Re: kandr2 question "christian.bau" <christian.bau@cbau.wanadoo.co.uk> - 2012-10-30 18:44 -0700
  Re: kandr2 question Barry Schwarz <schwarz45@yahoo.com> - 2012-10-30 20:32 -0700
    Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 13:52 -0500
      Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-31 11:20 -0700
        Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 14:37 -0500
          Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 14:40 -0500
          Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-31 12:18 -0700
            Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 15:29 -0500
            Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 16:56 -0500
              Re: kandr2 question Keith Thompson <kst-u@mib.org> - 2012-10-31 15:05 -0700
                Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-11-01 13:11 -0500
      Re: kandr2 question Barry Schwarz <schwarz45@yahoo.com> - 2012-10-31 21:44 -0700
        Re: kandr2 question Ike Naar <ike@sverige.freeshell.org> - 2012-11-01 09:34 +0000
          Re: kandr2 question Barry Schwarz <schwarzb@dqel.com> - 2012-11-01 12:13 -0700
            Re: kandr2 question Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-11-10 07:04 -0800
          Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-11-01 15:26 -0500
        Re: kandr2 question Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2012-11-01 17:56 +0200
        Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-11-01 13:14 -0500
  Re: kandr2 question SG <sgesemann@gmail.invalid> - 2012-10-31 20:14 +0100
    Re: kandr2 question "Bill Cunningham" <nospam@nspam.invalid> - 2012-10-31 20:04 -0500

csiph-web