zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 13c9faaa2dbd88b45b3f19734e6ca72f87ddaaaa (tree)
parent f0cbf63e1ae38d9c13cb07a151567b4890287ae9
Author: Luna <git@l4.pm>
Date:   Tue, 31 Dec 2019 15:35:07 -0300

c.linux: add memfd_create

Diffstat:
Mlib/std/c/linux.zig | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/std/c/linux.zig b/lib/std/c/linux.zig @@ -76,6 +76,8 @@ pub extern "c" fn dl_iterate_phdr(callback: dl_iterate_phdr_callback, data: ?*c_ pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int; +pub extern "c" fn memfd_create(name: [*:0]const u8, flags: c_uint) c_int; + pub const pthread_attr_t = extern struct { __size: [56]u8, __align: c_long,