authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-16 11:09:37 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-16 11:09:37 -07:00
logd6168b08f21bafa6b7ec0b2cd366e50a21b3ab93
tree241faea3a54b9c78b5472ab4355a716c5e327616
parent72171a9c5e1bd7e779831340637ad95c35b51d60

oops


2 files changed, 2 insertions(+), 4 deletions(-)

README.md+1-3
...@@ -1,5 +1,3 @@...@@ -1,5 +1,3 @@
1# zig-sys-linux1# zig-sys-linux
22
3OS bindings layer for directly making Linux syscalls.3OS bindings layer for directly making Linux syscalls. Preserves original errno error values.
4
5Zig-ifies the API while preserving errno error values.
mod.zig+1-1
...@@ -41,7 +41,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {...@@ -41,7 +41,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {
41// int open(const char *pathname, int flags, ... /* mode_t mode */ );41// int open(const char *pathname, int flags, ... /* mode_t mode */ );
4242
43// close43// close
44// int creat(const char *pathname, mode_t mode);44// int close(int fd);
4545
46// stat46// stat
47// int stat(const char *restrict pathname, struct stat *restrict statbuf);47// int stat(const char *restrict pathname, struct stat *restrict statbuf);