diff options
| author | LemonBoy <thatlemon@gmail.com> | 2020-03-24 19:47:18 +0100 |
|---|---|---|
| committer | LemonBoy <thatlemon@gmail.com> | 2020-03-24 19:47:18 +0100 |
| commit | 3ccf99c0bd5a681c56c456d1606b5eccfcf31fb7 (patch) | |
| tree | 61b893eec83afcb30605e90d1eb0bbb10cfb1670 /lib/std/c/darwin.zig | |
| parent | c3f93be00cd516a561b32df4c68b5ed01e851645 (diff) | |
| download | zig-3ccf99c0bd5a681c56c456d1606b5eccfcf31fb7.tar.gz zig-3ccf99c0bd5a681c56c456d1606b5eccfcf31fb7.zip | |
std: Slim duplicate logic for some calls
Diffstat (limited to 'lib/std/c/darwin.zig')
| -rw-r--r-- | lib/std/c/darwin.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/c/darwin.zig b/lib/std/c/darwin.zig index 2134e0e7a4..74922daa01 100644 --- a/lib/std/c/darwin.zig +++ b/lib/std/c/darwin.zig @@ -13,6 +13,7 @@ pub extern "c" fn _dyld_get_image_vmaddr_slide(image_index: u32) usize; pub extern "c" fn _dyld_get_image_name(image_index: u32) [*:0]const u8; pub extern "c" fn __getdirentries64(fd: c_int, buf_ptr: [*]u8, buf_len: usize, basep: *i64) isize; +pub extern "c" fn @"fstat$INODE64"(fd: fd_t, buf: *Stat) c_int; pub extern "c" fn mach_absolute_time() u64; pub extern "c" fn mach_timebase_info(tinfo: ?*mach_timebase_info_data) void; |
