From d6168b08f21bafa6b7ec0b2cd366e50a21b3ab93 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Wed, 16 Apr 2025 11:09:37 -0700 Subject: [PATCH] oops --- README.md | 4 +--- mod.zig | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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); -- 2.54.0