aboutsummaryrefslogtreecommitdiff
path: root/std/c/linux.zig
blob: b0dadf071dc8f9439ce24110e88ffc873ad88520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pub use @import("../os/linux/errno.zig");

pub extern "c" fn getrandom(buf_ptr: [*]u8, buf_len: usize, flags: c_uint) c_int;
extern "c" fn __errno_location() *c_int;
pub const _errno = __errno_location;

pub const pthread_attr_t = extern struct {
    __size: [56]u8,
    __align: c_long,
};

/// See std.elf for constants for this
pub extern fn getauxval(__type: c_ulong) c_ulong;