Article View: es.comp.os.linux.programacion
Article #13173Funciones static
From: Willy
Date: Mon, 12 Mar 2001 23:32
Date: Mon, 12 Mar 2001 23:32
25 lines
1482 bytes
1482 bytes
�Hola!
Me gustaria saber que son las funciones static, para qu� sirven sobre todo en
los ficheros del n�cleo, y qu� efectos tienen.
O sea, funciones de la forma:
static func(int num1, ...) {
algo;
algomas;
}
Y tambi�n los objetos static, por qu� se utilizan y si se diferencian en algo
del resto. Por ejemplo:
static struct miestruc {
int campo1;
int etc;
};
Sobre todo ya digo en ficheros del n�cleo, aunque en general tambi�n me
interesa. Yo nunca he utilizado este tipo de cosas, pero ahora he visto que se
utiliza por ah� y me gustar�a saber su raz�n de ser.
Bye!
Technical Details
Message-ID:
<984440188.224065120@news.inicia.es>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.icl.net!diablo.netcom.net.uk!netcom.net.uk!btnet-peer!btnet!newsfeed.bt.es!212.14.96.163.MISMATCH!gratil.proel!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,d59104dc5a1901fb,start X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-03-12 15:32:25 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.icl.net!diablo.netcom.net.uk!netcom.net.uk!btnet-peer!btnet!newsfeed.bt.es!212.14.96.163.MISMATCH!gratil.proel!not-for-mail From: Willy <willywill[NO SPAM]@netscape.net> Newsgroups: es.comp.os.linux.programacion Subject: Funciones static Followup-To: es.comp.os.linux.programacion Date: Tue, 13 Mar 2001 00:32:33 +0100 Organization: - Lines: 25 Message-ID: <984440188.224065120@news.inicia.es> NNTP-Posting-Host: 212.14.111.160 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Newsreader: KRN http://ultra7.unl.edu.ar