* _var_name
@ 2004-09-24 2:54 Ankit Jain
2004-09-25 0:43 ` _var_name Suciu Flavius
0 siblings, 1 reply; 2+ messages in thread
From: Ankit Jain @ 2004-09-24 2:54 UTC (permalink / raw)
To: linux prg
hi
i have seen some variables in C defined in this
format(_var_name or __var1_name). generally like this
they are defined in header files also
how to use them
thanks
ankit
________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: _var_name
2004-09-24 2:54 _var_name Ankit Jain
@ 2004-09-25 0:43 ` Suciu Flavius
0 siblings, 0 replies; 2+ messages in thread
From: Suciu Flavius @ 2004-09-25 0:43 UTC (permalink / raw)
To: linux-c-programming
Hi,
__variables are LIBRARY related global variables,
In a normal case you will NEVER use them directly.
The functions from the library use this variables.
It's named like this to be UGLY to use them, and
somehow it's a convention to name internal library
variables using prepended __
So, forget about them and use the functions :)
Ankit Jain wrote:
> hi
>
> i have seen some variables in C defined in this
> format(_var_name or __var1_name). generally like this
> they are defined in header files also
>
> how to use them
>
> thanks
>
> ankit
>
>
>
> ________________________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping"
> your friends today! Download Messenger Now
> http://uk.messenger.yahoo.com/download/index.html
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-25 0:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-24 2:54 _var_name Ankit Jain
2004-09-25 0:43 ` _var_name Suciu Flavius
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).