delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/25/04:17:31

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C & static
Date: Thu, 24 Apr 1997 09:38:59 -0700
Organization: Alcyone Systems
Lines: 15
Message-ID: <335F8CA3.BA3026C@alcyone.com>
References: <01bc5055$7a3d2100$08b0f8ce AT didi>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ian Mausolus wrote:

> What is the significance of the word "static" in front of a function name
> in C?

It means that function is local only to that C files; you can't call that
function from other files.

-- 
       Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
                     Alcyone Systems /   web / http://www.alcyone.com/max/
San Jose, California, United States /  icbm / 37 20 07 N  121 53 38 W
                                   \
                      "The future / is right there."
                                 / Bill Moyers

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019