Ankit Jain wrote:

> can anybody tell me when we write like this while
> writing asm construct then what does underscore mean?
> 
> __asm__("construct")

Underscores are treated just like letters in macro and symbol names.

By convention, the implementation (compiler, core libraries) puts
underscores at the beginning of any "private" names, so that they
don't conflict with any names which you might use in your code (you
wouldn't normally choose names beginning with underscores in your own
code).

According to the ANSI C99 specification:

       7.1.3  Reserved identifiers

       [#1] Each header declares or defines all identifiers  listed
       in  its  associated  subclause,  and  optionally declares or
       defines identifiers listed in its associated future  library
       directions   subclause  and  identifiers  which  are  always
       reserved either for  any  use  or  for  use  as  file  scope
       identifiers.

         -- All  identifiers  that  begin  with  an  underscore and
            either an uppercase letter or  another  underscore  are
            always reserved for any use.

         -- All  identifiers  that  begin  with  an  underscore are
            always reserved for use as identifiers with file  scope
            in both the ordinary and tag name spaces.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
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

Reply via email to