_var_name
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
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 alsohow 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