linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Suciu Flavius <suciuflavius@tiscali.de>
To: linux-c-programming@vger.kernel.org
Subject: Re: _var_name
Date: Fri, 24 Sep 2004 17:43:25 -0700	[thread overview]
Message-ID: <cj1eqa$m10$1@sea.gmane.org> (raw)
In-Reply-To: <20040924025427.37460.qmail@web52909.mail.yahoo.com>

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
> 


      reply	other threads:[~2004-09-25  0:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-24  2:54 _var_name Ankit Jain
2004-09-25  0:43 ` Suciu Flavius [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='cj1eqa$m10$1@sea.gmane.org' \
    --to=suciuflavius@tiscali.de \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).