2018-02-05 22:26:39 +08:00
|
|
|
pub use @import("../os/linux/errno.zig");
|
2017-08-27 17:15:24 +08:00
|
|
|
|
2018-06-04 13:09:15 +08:00
|
|
|
pub extern "c" fn getrandom(buf_ptr: [*]u8, buf_len: usize, flags: c_uint) c_int;
|
2018-05-31 22:56:59 +08:00
|
|
|
extern "c" fn __errno_location() *c_int;
|
2017-03-23 14:59:58 +08:00
|
|
|
pub const _errno = __errno_location;
|
2018-04-29 11:30:13 +08:00
|
|
|
|
2018-11-13 21:08:37 +08:00
|
|
|
pub const pthread_attr_t = extern struct {
|
2018-04-29 11:30:13 +08:00
|
|
|
__size: [56]u8,
|
|
|
|
__align: c_long,
|
|
|
|
};
|
2018-08-25 15:07:37 +08:00
|
|
|
|
|
|
|
/// See std.elf for constants for this
|
|
|
|
pub extern fn getauxval(__type: c_ulong) c_ulong;
|