Skip to contentSkip to conversation

_var_name

DISCUSSION Ankit Jain 2 participants 2 messages Sep 24, 2004 – Sep 25, 2004

lore
Share & tools
lore

Ankit Jain

author
#0 lore raw

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

#1 lore raw

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 :)

Quoted 21 lines · Ankit Jain

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html