tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Support for multi-position electro-mechanical keylocks



In message <810D268A-A92B-4959-9E47-863AF2262EA1%msys.ch@localhost>, Marc 
Balmer writes:
>> As a general rule, you shouldn't prefix things with underscores in C.
>> (C9x 7.1.3:  "All identifiers that begin with an underscore and
>> either an uppercase letter or another underscore are always reserved
>> for any use.")

>This section applies to identifiers in header files, i.e. to exported  
>APIs, not to structure members.

"for any use".

Contrast:

"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."

See the difference?  With an underscore, things are reserved for use as
identifiers with file scope in the ordinary and tag name spaces.  With
two underscores, they are reserved FOR ANY USE.

-s


Home | Main Index | Thread Index | Old Index