diff options
Diffstat (limited to 'src/io/io_darwin.zig')
-rw-r--r-- | src/io/io_darwin.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io/io_darwin.zig b/src/io/io_darwin.zig index a551f935b..77a4c5c4d 100644 --- a/src/io/io_darwin.zig +++ b/src/io/io_darwin.zig @@ -273,6 +273,7 @@ pub const darwin = struct { pub extern "c" fn @"open$NOCANCEL"(path: [*:0]const u8, oflag: c_uint, ...) c_int; pub extern "c" fn @"read$NOCANCEL"(fd: c.fd_t, buf: [*]u8, nbyte: usize) isize; pub extern "c" fn @"pread$NOCANCEL"(fd: c.fd_t, buf: [*]u8, nbyte: usize, offset: c.off_t) isize; + pub extern "c" fn @"write$NOCANCEL"(fd: c.fd_t, buf: [*]const u8, nbyte: usize) isize; }; pub const OpenError = error{ /// In WASI, this error may occur when the file descriptor does |