Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 12 Oct 2011 19:55:36 -0500 Message-ID: <4E963709.406@mindspring.com> Date: Wed, 12 Oct 2011 20:55:37 -0400 From: pete Reply-To: pfiland@mindspring.com Organization: PF X-Mailer: Mozilla 3.04Gold (WinNT; I) MIME-Version: 1.0 Newsgroups: comp.lang.c Subject: Re: initialization of local static variable References: <0.53620716d31f4493ddf5.20111008220600BST.87obxrtcqv.fsf@bsb.me.uk> <4e916201$0$1375$4fafbaef@reader2.news.tin.it> <4e9325fb$0$1392$4fafbaef@reader1.news.tin.it> <0ec797paci7qkqbrlb6d3426imcml9h0a5@4ax.com> <4e9471e5$0$1389$4fafbaef@reader1.news.tin.it> <4e9480db$0$1377$4fafbaef@reader2.news.tin.it> <4e9537ab$0$1383$4fafbaef@reader1.news.tin.it> <4e9538e9$0$1378$4fafbaef@reader2.news.tin.it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 14 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 4.154.221.123 X-Trace: sv3-dMxX5AqWtJqlqGS2qHoe2aU7A7CYLcZoqGw/iWk5EXKuCr5QzNJFdj6qeqkTApba06o3I3GFSPYhF5M!+ib7lKOxnoGUXSiFkrSRrqg1qJRtRWDHs6rU5OkgpfCWoT8s1noNBIJZL9yGo6CvBg28bipRHddS!z3sO2nUpTg== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1859 Xref: x330-a1.tempe.blueboxinc.net comp.lang.c:11602 io_x wrote: > automatic [the diclared in block] > register [the diclared in block] > extern [all the others, global, etc] As of C99, there are three kinds of storage duration: 1 automatic 2 static 3 allocated -- pete