You copied the Doc URL to your clipboard.

__attribute__((malloc)) function attribute

This function attribute indicates that the function can be treated like malloc and the compiler can perform the associated optimizations.


This function attribute is a GNU compiler extension that the ARM compiler supports.


void * Function_Attributes_malloc_0(int b) __attribute__((malloc));
Was this page helpful? Yes No