http://man7.org/linux/man-pages/man3/alloca.3.html I compare this man page with the https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/alloca?view=vs-2017 and I feel that a very important fragment is missing in the man page (although strictly speaking the man page is complete), the missing fragment is between the double asterisks (**): The allocated space is automatically freed when the calling function exits **(not when the allocation merely passes out of scope)**. More info: * Know the Danger of alloca() https://github.com/kuzminrobin/code_review_notes/blob/master/cpp_design_bookmarks.md#know-the-danger-of-alloca Robin Kuzmin CppCon 2018 Speaker Liaison speakers@xxxxxxxxxx Robin Kuzmin kuzmin.robin@xxxxxxxxx Open for new positions (https://drive.google.com/open?id=1TmA8cXRxb_9lDnCREfYuIeGpJy9sMsXSpFVMK-0PwNo).