commit 293b07df12014cadf8b8b01b279856563523e257 (tree)
parent 2deb07a001d2a3f23681a368a07544baf2673ccf
Author: Luna <git@l4.pm>
Date: Sun, 16 Aug 2020 14:30:17 -0300
add signalfd to std.c.linux
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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,