]> git.proxmox.com Git - wasi-libc.git/blob - libc-bottom-half/getpid/getpid.c
Don't use sbrk(0) to determine the initial heap size (#377)
[wasi-libc.git] / libc-bottom-half / getpid / getpid.c
1 #include <unistd.h>
2
3 pid_t getpid(void) {
4 // Return an arbitrary value, greater than 1 which is special.
5 return 42;
6 }