6.33. Specifying Attributes of Types
6.33 Specifying Attributes of Types
The keyword __attribute__
allows you to specify special attributes of types. Some type attributes apply only to struct
and union
types, while others can apply to any type defined via a typedef
declaration. Other attributes are defined for functions (see Function Attributes), labels (see Label Attributes), enumerators (see Enumerator Attributes), statements (see Statement Attributes), and for variables (see Variable Attributes).
The __attribute__
ke