Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
richardwhiuk
on March 3, 2016
|
parent
|
context
|
favorite
| on:
What is “the stack”?
malloc almost certainly isn't a system call. It's a library call (provided by libc), and you can have different malloc functions (different allocators).
The underlying OS call is VirtualAlloc on Windows and brk/sbrk/mmap on Linux.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
The underlying OS call is VirtualAlloc on Windows and brk/sbrk/mmap on Linux.