zig/lib/std/c
Andrew Kelley 7680c5330c some API work on std.c, std.os, std.os.wasi
* std.c: consolidate some definitions, making them share code. For
  example, freebsd, dragonfly, and openbsd can all share the same
  `pthread_mutex_t` definition.
* add type safety to std.c.O
  - this caught a bug where mode flags were incorrectly passed as the
    open flags.
* 3 fewer uses of usingnamespace keyword
* as per convention, remove purposeless field prefixes from struct field
  names even if they have those prefixes in the corresponding C code.
* fix incorrect wasi libc Stat definition
* remove C definitions from incorrectly being in std.os.wasi
* make std.os.wasi definitions type safe
* go through wasi native APIs even when linking libc because the libc
  APIs are problematic and wasteful
* don't expose WASI definitions in std.posix
* remove std.os.wasi.rights_t.ALL: this is a footgun. should it be all
  future rights too? or only all current rights known? both are
  the wrong answer.
2024-02-11 13:38:55 -07:00
..
darwin darwin: update mcontext_t definition for aarch64 to add neon state 2023-07-20 22:58:14 -04:00
darwin.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00
dragonfly.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00
emscripten.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00
freebsd.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00
haiku.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00
linux.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00
netbsd.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00
openbsd.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00
solaris.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00
wasi.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00
windows.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00