diff options
Diffstat (limited to 'lib/std/c/netbsd.zig')
| -rw-r--r-- | lib/std/c/netbsd.zig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/std/c/netbsd.zig b/lib/std/c/netbsd.zig new file mode 100644 index 0000000000..417c78db69 --- /dev/null +++ b/lib/std/c/netbsd.zig @@ -0,0 +1,8 @@ +const std = @import("../std.zig"); +usingnamespace std.c; + +extern "c" fn __errno() *c_int; +pub const _errno = __errno; + +pub extern "c" fn getdents(fd: c_int, buf_ptr: [*]u8, nbytes: usize) usize; +pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int; |
