add signalfd to std.c.linux

This commit is contained in:
Luna 2020-08-16 14:30:17 -03:00 committed by Andrew Kelley
parent 2deb07a001
commit 293b07df12

View File

@ -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,