| author | |
| committer | |
| log | 336d81894da2c34a77cffd1bf903ad9e4dcaa7aa |
| tree | 996622298937b485ce9fc9aacbb7b86772b5f85c |
| parent | 52521d5f67a2ff1290856e832f3f2a2a2245f41a |
2 files changed, 3 insertions(+), 2 deletions(-)
std/c/index.zig+1-1| ... | ... | @@ -13,7 +13,7 @@ pub extern "c" fn abort() -> noreturn; |
| 13 | 13 | pub extern "c" fn exit(code: c_int) -> noreturn; |
| 14 | 14 | pub extern "c" fn isatty(fd: c_int) -> c_int; |
| 15 | 15 | pub extern "c" fn close(fd: c_int) -> c_int; |
| 16 | pub extern "c" fn fstat(fd: c_int, buf: &stat) -> c_int; | |
| 16 | pub extern "c" fn fstat(fd: c_int, buf: &Stat) -> c_int; | |
| 17 | 17 | pub extern "c" fn lseek(fd: c_int, offset: isize, whence: c_int) -> isize; |
| 18 | 18 | pub extern "c" fn open(path: &const u8, oflag: c_int, ...) -> c_int; |
| 19 | 19 | pub extern "c" fn raise(sig: c_int) -> c_int; |
std/os/darwin.zig+2-1| ... | ... | @@ -128,7 +128,7 @@ pub fn isatty(fd: i32) -> bool { |
| 128 | 128 | c.isatty(fd) != 0 |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | pub fn fstat(fd: i32, buf: &c.stat) -> usize { | |
| 131 | pub fn fstat(fd: i32, buf: &c.Stat) -> usize { | |
| 132 | 132 | errnoWrap(c.fstat(fd, buf)) |
| 133 | 133 | } |
| 134 | 134 | |
| ... | ... | @@ -268,6 +268,7 @@ pub const sigset_t = c.sigset_t; |
| 268 | 268 | pub const empty_sigset = sigset_t(0); |
| 269 | 269 | |
| 270 | 270 | pub const timespec = c.timespec; |
| 271 | pub const Stat = c.Stat; | |
| 271 | 272 | |
| 272 | 273 | /// Renamed from `sigaction` to `Sigaction` to avoid conflict with the syscall. |
| 273 | 274 | pub const Sigaction = struct { |