]> git.proxmox.com Git - wasi-libc.git/blame - libc-top-half/README.md
Use MUSL's `weak*` feature in bottom half (#306)
[wasi-libc.git] / libc-top-half / README.md
CommitLineData
84c0778b
DG
1# WASI libc "top half".
2
3The WASI libc "top half" is conceptually the upper half of a traditional libc
4implementation, consisting of C standard library and other relatively
5higher-level functionality.
6
f41256b6 7Code in the musl directory is based on musl revision
2408ea94 8040c1d16b468c50c04fc94edff521f1637708328, which is v1.2.0, from
f41256b6 9git://git.musl-libc.org/musl.
320054e8
DG
10
11Whole files which are unused are omitted. Changes to upstream code are wrapped
12in preprocessor directives controlled by the macro `__wasilibc_unmodified_upstream`.
13
14Some major known missing areas include:
15 - threads
16 - aio
17 - setjmp
18 - signals
19 - ipc
20 - termios
21 - nss
320054e8
DG
22 - timezones
23 - non-builtin locales
24 - TIOCGWINSZ (because cloudabi lacks it; affects isatty, line buffering for stdout)
25 - O\_CLOEXEC, O\_NOCTTY (because cloudabi lacks them)