[diff.malloc] # Annex C (informative) Compatibility [[diff]](./#diff) ## C.8 C standard library [[diff.library]](diff.library#diff.malloc) ### C.8.5 Modifications to behavior [[diff.mods.to.behavior]](diff.mods.to.behavior#diff.malloc) #### C.8.5.3 Memory allocation functions [diff.malloc] [1](#1) [#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/compatibility.tex#L3837) The functionsaligned_alloc,calloc,malloc, andrealloc are restricted in C++[.](#1.sentence-1) Subclause [[c.malloc]](c.malloc "20.2.12 C library memory allocation") describes the changes[.](#1.sentence-2)