zig/lib/libc/wasi/libc-bottom-half/getpid/getpid.c

7 lines
126 B
C
Raw Normal View History

2021-05-18 18:59:35 +08:00
#include <unistd.h>
pid_t getpid(void) {
// Return an arbitrary value, greater than 1 which is special.
return 42;
}