![]() |
malloc |
Previous | Specifying Attributes of Functions | Next |
The malloc
attribute is used to tell the compiler that a function
may be treated as if it were the malloc function. The compiler assumes
that calls to malloc result in a pointers that cannot alias anything.
This will often improve optimization.