zig/lib/std/c/netbsd.zig

9 lines
266 B
Zig
Raw Normal View History

2019-05-28 21:22:19 +08:00
const std = @import("../std.zig");
usingnamespace std.c;
2019-05-28 21:22:19 +08:00
extern "c" fn __errno() *c_int;
pub const _errno = __errno;
pub extern "c" fn getdents(fd: c_int, buf_ptr: [*]u8, nbytes: usize) usize;
2019-05-28 21:22:19 +08:00
pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int;