| author | |
| committer | |
| log | d6168b08f21bafa6b7ec0b2cd366e50a21b3ab93 |
| tree | 241faea3a54b9c78b5472ab4355a716c5e327616 |
| parent | 72171a9c5e1bd7e779831340637ad95c35b51d60 |
2 files changed, 2 insertions(+), 4 deletions(-)
README.md+1-3| ... | ... | @@ -1,5 +1,3 @@ |
| 1 | 1 | # zig-sys-linux |
| 2 | 2 | |
| 3 | OS bindings layer for directly making Linux syscalls. | |
| 4 | ||
| 5 | Zig-ifies the API while preserving errno error values. | |
| 3 | OS bindings layer for directly making Linux syscalls. Preserves original errno error values. |
mod.zig+1-1| ... | ... | @@ -41,7 +41,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 41 | 41 | // int open(const char *pathname, int flags, ... /* mode_t mode */ ); |
| 42 | 42 | |
| 43 | 43 | // close |
| 44 | // int creat(const char *pathname, mode_t mode); | |
| 44 | // int close(int fd); | |
| 45 | 45 | |
| 46 | 46 | // stat |
| 47 | 47 | // int stat(const char *restrict pathname, struct stat *restrict statbuf); |