| author | |
| committer | |
| log | 859fc856d38860bbd8738d3a09527d8fcb7dcc7b |
| tree | d17de6846171cc5bceb8e58336215cb6d3e6c25c |
| parent | c81345c8aec56a108f6f98001666a1552d65ce85 |
| signature |
3 files changed, 7 insertions(+), 4 deletions(-)
lib/std/c/darwin.zig+2-2| ... | @@ -56,9 +56,9 @@ pub extern "c" fn host_get_clock_service(host: host_t, clock_id: clock_id_t, clo | ... | @@ -56,9 +56,9 @@ pub extern "c" fn host_get_clock_service(host: host_t, clock_id: clock_id_t, clo |
| 56 | pub extern "c" fn mach_port_deallocate(task: ipc_space_t, name: mach_port_name_t) kern_return_t; | 56 | pub extern "c" fn mach_port_deallocate(task: ipc_space_t, name: mach_port_name_t) kern_return_t; |
| 57 | 57 | ||
| 58 | pub const sf_hdtr = extern struct { | 58 | pub const sf_hdtr = extern struct { |
| 59 | headers: [*]iovec_const, | 59 | headers: [*]const iovec_const, |
| 60 | hdr_cnt: c_int, | 60 | hdr_cnt: c_int, |
| 61 | trailers: [*]iovec_const, | 61 | trailers: [*]const iovec_const, |
| 62 | trl_cnt: c_int, | 62 | trl_cnt: c_int, |
| 63 | }; | 63 | }; |
| 64 | 64 |
lib/std/c/freebsd.zig+2-2| ... | @@ -9,9 +9,9 @@ pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int; | ... | @@ -9,9 +9,9 @@ pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int; |
| 9 | pub extern "c" fn getrandom(buf_ptr: [*]u8, buf_len: usize, flags: c_uint) isize; | 9 | pub extern "c" fn getrandom(buf_ptr: [*]u8, buf_len: usize, flags: c_uint) isize; |
| 10 | 10 | ||
| 11 | pub const sf_hdtr = extern struct { | 11 | pub const sf_hdtr = extern struct { |
| 12 | headers: [*]iovec_const, | 12 | headers: [*]const iovec_const, |
| 13 | hdr_cnt: c_int, | 13 | hdr_cnt: c_int, |
| 14 | trailers: [*]iovec_const, | 14 | trailers: [*]const iovec_const, |
| 15 | trl_cnt: c_int, | 15 | trl_cnt: c_int, |
| 16 | }; | 16 | }; |
| 17 | pub extern "c" fn sendfile( | 17 | pub extern "c" fn sendfile( |
lib/std/os/bits/darwin.zig+3| ... | @@ -926,6 +926,9 @@ pub const ESOCKTNOSUPPORT = 44; | ... | @@ -926,6 +926,9 @@ pub const ESOCKTNOSUPPORT = 44; |
| 926 | /// Operation not supported | 926 | /// Operation not supported |
| 927 | pub const ENOTSUP = 45; | 927 | pub const ENOTSUP = 45; |
| 928 | 928 | ||
| 929 | /// Operation not supported. Alias of `ENOTSUP`. | ||
| 930 | pub const EOPNOTSUPP = ENOTSUP; | ||
| 931 | |||
| 929 | /// Protocol family not supported | 932 | /// Protocol family not supported |
| 930 | pub const EPFNOSUPPORT = 46; | 933 | pub const EPFNOSUPPORT = 46; |
| 931 | 934 |