Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Fun fact: alloca is neither in (any) C standard or POSIX. It is just a very old extension, implemented in many compilers with somewhat compatible, under specified semantics.


I am aware of that, which is why I said “a standard alloca” instead of “the standard alloca”. I’m asking if they’re proposing adding a version of alloca to the standard.


Very old indeed, Turbo C 2.0 for MS-DOS already had it.

Not sure about the Small C dialect from early 80's.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: