lkml.org 
[lkml]   [2004]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: what does __foo means.
From
Date
On Tue, 2004-12-07 at 06:54, Jan Engelhardt wrote:
> >Hi all,
> >
> > Can anyone tell me does double underscore before a function mean?
> > In which scenario a programmer must use it.
>
> From the POV of a compiler, _ is like [a-z]. The programmer may use it freely.

Yes, yes, but I don't think that was the question :).

In the kernel a function that begins with __ usually denotes an internal
function for that file or subsystem. Not always, but usually.

josh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.104 / U:25.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site