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 is supported by the ARM compiler.


void * Function_Attributes_malloc_0(int b) __attribute__ ((malloc));