wasi-libc/libc-top-half
Dan Gohman ca9046d872
Use consistent style for wasi-libc C source files. (#131)
For now, this means using `//`-style comments in .c source files (though
not public header files), and spaces rather than tabs. No strong opinion
here; this is just what the majority of the current code is using.

This also synchronizes basics/crt/crt1.c with libc-bottom-half's
version, though this is just a cleanup as the former isn't currently used
by the main wasi-libc build.
2019-11-08 11:59:57 -08:00
..
headers Use consistent style for wasi-libc C source files. (#131) 2019-11-08 11:59:57 -08:00
musl Avoid varargs conventions when calling open (#126) 2019-11-04 16:37:45 -08:00
sources Use consistent style for wasi-libc C source files. (#131) 2019-11-08 11:59:57 -08:00
README.md Update to musl 1.1.23. 2019-08-07 17:53:41 -07:00

Code in the musl directory is based on musl revision b07d45eb01e900f0176894fdedab62285f5cb8be, which is v1.1.23, from git://git.musl-libc.org/musl.

Whole files which are unused are omitted. Changes to upstream code are wrapped in preprocessor directives controlled by the macro __wasilibc_unmodified_upstream.

Some major known missing areas include:

  • threads
  • aio
  • setjmp
  • signals
  • ipc
  • termios
  • nss
  • environment variables
  • timezones
  • non-builtin locales
  • TIOCGWINSZ (because cloudabi lacks it; affects isatty, line buffering for stdout)
  • O_CLOEXEC, O_NOCTTY (because cloudabi lacks them)