rename signalfd4 to signalfd

This commit is contained in:
Luna 2020-08-16 14:30:09 -03:00 committed by Andrew Kelley
parent 96a27557e2
commit 2deb07a001
2 changed files with 2 additions and 2 deletions

View File

@ -5309,7 +5309,7 @@ pub fn ioctl_SIOCGIFINDEX(fd: fd_t, ifr: *ifreq) IoCtl_SIOCGIFINDEX_Error!void {
}
pub fn signalfd(fd: fd_t, mask: *const sigset_t, flags: i32) !fd_t {
const rc = system.signalfd4(fd, mask, flags);
const rc = system.signalfd(fd, mask, flags);
switch (errno(rc)) {
0 => return @intCast(fd_t, rc),
EBADF, EINVAL => unreachable,

View File

@ -1200,7 +1200,7 @@ pub fn ioctl(fd: fd_t, request: u32, arg: usize) usize {
return syscall3(.ioctl, @bitCast(usize, @as(isize, fd)), request, arg);
}
pub fn signalfd4(fd: fd_t, mask: *const sigset_t, flags: i32) usize {
pub fn signalfd(fd: fd_t, mask: *const sigset_t, flags: i32) usize {
return syscall4(
.signalfd4,
@bitCast(usize, @as(isize, fd)),