diff --git a/README.md b/README.md index e594f13bebcdf22d3aec91be042ef4ffc883e8b0..0cab8a3fa4efe85e1969a7f6a69703b6e55270c1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ # zig-sys-linux -OS bindings layer for directly making Linux syscalls. - -Zig-ifies the API while preserving errno error values. +OS bindings layer for directly making Linux syscalls. Preserves original errno error values. diff --git a/mod.zig b/mod.zig index abb8bfd0c090a1369bdb0e5b9665695c34475002..ca47db4cb829e219adf1e35e1599bed8ef1ad4de 100644 --- a/mod.zig +++ b/mod.zig @@ -41,7 +41,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { // int open(const char *pathname, int flags, ... /* mode_t mode */ ); // close -// int creat(const char *pathname, mode_t mode); +// int close(int fd); // stat // int stat(const char *restrict pathname, struct stat *restrict statbuf);