From: mdruiter AT cs DOT vu DOT nl (Ruiter de M) Newsgroups: comp.os.msdos.djgpp Subject: Re: C & static Date: 24 Apr 1997 10:09:48 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 20 Message-ID: <5jnbhc$or@star.cs.vu.nl> References: <01bc5055$7a3d2100$08b0f8ce AT didi> NNTP-Posting-Host: sloep66.cs.vu.nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ian Mausolus (mausolus AT ican DOT net) wrote: : What is the significance of the word "static" in front of a function name : in C? : for example: : static void foo(int i) : { : .... : } That means, that the function is declared local to the file. No other file can use it (by means of a .h-file). (CMIIW) -- Groeten, Michel. http://www.cs.vu.nl/~mdruiter \----/==\----/ \ / \ / "Als je voetbalcriminaliteit wilt tegengaan, \/ \/ moet je ophouden met voetballen", Nordholt.