zig/lib/std/os
Stephen Gregoratto a4369918b1 Generate linux syscalls via. the linux source tree
Previously, updating the `SYS` enum for each architecture required
manually looking at the syscall tables and inserting any new additions.

This commit adds a tool, `generate_linux_syscalls.zig`, that automates
this process using the syscall tables in the Linux source tree. On
architectures without a table, it runs `zig cc` as a pre-processor to
extract the system-call numbers from the Linux headers.
2022-05-16 23:55:11 -04:00
..
linux Generate linux syscalls via. the linux source tree 2022-05-16 23:55:11 -04:00
plan9 plan9: more syscalls 2021-11-09 07:08:27 -05:00
uefi std.os.uefi: Add BlockIoProtocol 2022-04-19 19:51:19 -04:00
windows remove RtlUpcaseUnicodeString, no longer needed 2022-05-11 18:43:41 -06:00
darwin.zig macos: update Mach routines for accessing page info 2022-03-17 10:42:11 +01:00
linux.zig Generate linux syscalls via. the linux source tree 2022-05-16 23:55:11 -04:00
plan9.zig plan9: more syscalls 2021-11-09 07:08:27 -05:00
posix_spawn.zig std: introduce posix_spawn as an alt to fork-exec 2022-03-16 19:40:44 +01:00
test.zig std.os: add timerfd_create, timerfd_settime and timerfd_gettime 2022-05-17 00:56:33 +02:00
uefi.zig std.os.uefi: fix GUID formatting (#11452) 2022-04-17 06:15:15 -04:00
wasi.zig stdlib: Add emulated CWD to std.os for WASI targets 2022-03-03 14:31:49 -07:00
windows.zig std.os.windows: upgrade to new function pointer semantics 2022-05-02 22:14:17 -07:00