]> git.proxmox.com Git - wasi-libc.git/commit - Makefile
Implement emulated support for `getpid`.
authorDan Gohman <dev@sunfishcode.online>
Fri, 2 Apr 2021 19:39:00 +0000 (12:39 -0700)
committerDan Gohman <dev@sunfishcode.online>
Mon, 5 Apr 2021 23:58:36 +0000 (16:58 -0700)
commit659ff414560721b1660a19685110e484a081c3d4
treee3c2d3e893249b4a8ab7222d6438f67d78bcc756
parentc82d116de0de47bf2312c81aa536d22cb0865f5b
Implement emulated support for `getpid`.

Add a simple `getpid` emulation function which just returns a fixed
value, for applications that just use it for logging.
Makefile
expected/wasm32-wasi/defined-symbols.txt
libc-bottom-half/getpid/getpid.c [new file with mode: 0644]
libc-top-half/musl/include/unistd.h