Technical Support
On-Line Manuals
Compiler User Guide
The __attribute__ keyword enables you to specify special attributes of variables or structure fields, functions, and types.
__attribute__
__attribute__((attribute1, attribute2, ...)) __attribute__((__attribute1__, __attribute2__, ...))
attribute1
attribute2
__attribute1__
__attribute2__
void * Function_Attributes_malloc_0(int b) __attribute__((malloc)); static int b __attribute__((__unused__));
Table 9-4 Type attributes that the compiler supports, and their equivalents
__attribute__((bitband))
-
__attribute__((aligned))
__align
__attribute__((packed))
__packed
__attribute__((transparent_union))
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.