wasi-libc/libc-bottom-half
Ingvar Stepanyan 7b4705f126
Fix typo in signal.c error messages (#437)
613e154eb2 fixed it in one function but not the other two :)
2023-09-27 08:42:02 -07:00
..
clocks Add some more comments. 2021-03-23 10:34:46 -07:00
cloudlibc Convert preopen initialization to be lazy. (#408) 2023-05-03 12:44:21 -07:00
crt Add a check to reactor modules to ensure _initialize is only called once (#388) 2023-01-30 04:30:02 -08:00
getpid Implement emulated support for getpid. 2021-04-05 16:58:36 -07:00
headers Add definitions for PF_INET, PF_INET6 and PF_UNSPEC (#426) 2023-07-13 09:18:08 -07:00
mman Make mmap() possible to use in a conformant way. (#197) 2020-05-26 12:49:13 -07:00
signal Fix typo in signal.c error messages (#437) 2023-09-27 08:42:02 -07:00
sources Convert preopen initialization to be lazy. (#408) 2023-05-03 12:44:21 -07:00
README.md Merge the basics component into libc-bottom-half. (#199) 2020-06-01 16:44:05 -07:00

WASI libc "bottom half".

The WASI libc "bottom half" is conceptually the lower half of a traditional libc implementation, consisting of C interfaces to the low-level WASI syscalls.

This implementation is partially derived from the "bottom half" of cloudlibc, revision 8835639f27fc42d32096d59d294a0bbb857dc368.

This implementation includes preopen functionality, which emulates POSIX APIs accepting absolute paths by translating them into pre-opened directory handles and relative paths that can be opened with openat. This technique is inspired by libpreopen, however the implementation here is designed to be built into libc rather than to be a layer on top of libc.

The WASI libc lower half currently depends on the dlmalloc component.