The mode variable attribute

The variable attribute mode allows you to override the type specifier in a variable declaration, to specify the size of a particular integral type.

Read syntax diagramSkip visual syntax diagrammode variable attribute syntax
 
>>-__attribute__--((--+-mode-----+--(--+-byte--------+--)--))--><
                      '-__mode__-'     +-word--------+
                                       +-pointer-----+
                                       +-__byte__----+
                                       +-__word__----+
                                       '-__pointer__-'
 

The valid argument for the mode is any of the of the following type specifiers that indicates a specific width: