zig/std/c/freebsd.zig

10 lines
348 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
2018-10-18 03:21:48 +08:00
extern "c" fn __error() *c_int;
pub const _errno = __error;
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;
2019-08-06 00:21:12 +08:00
pub extern "c" fn getrandom(buf_ptr: [*]u8, buf_len: usize, flags: c_uint) c_int;