From 293b07df12014cadf8b8b01b279856563523e257 Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 16 Aug 2020 14:30:17 -0300 Subject: [PATCH] add signalfd to std.c.linux --- lib/std/c/linux.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/std/c/linux.zig b/lib/std/c/linux.zig index c00fc68bca..f37fce7a3e 100644 --- a/lib/std/c/linux.zig +++ b/lib/std/c/linux.zig @@ -93,6 +93,8 @@ pub extern "c" fn sendfile( pub extern "c" fn copy_file_range(fd_in: fd_t, off_in: ?*i64, fd_out: fd_t, off_out: ?*i64, len: usize, flags: c_uint) isize; +pub extern "c" fn signalfd(fd: fd_t, mask: *const sigset_t, flags: i32) usize; + pub const pthread_attr_t = extern struct { __size: [56]u8, __align: c_long,