| ... | @@ -5620,7 +5620,7 @@ pub fn sigaction(sig: u6, noalias act: ?*const Sigaction, noalias oact: ?*Sigact | ... | @@ -5620,7 +5620,7 @@ pub fn sigaction(sig: u6, noalias act: ?*const Sigaction, noalias oact: ?*Sigact |
| 5620 | | 5620 | |
| 5621 | /// Sets the thread signal mask. | 5621 | /// Sets the thread signal mask. |
| 5622 | pub fn sigprocmask(flags: u32, noalias set: ?*const sigset_t, noalias oldset: ?*sigset_t) void { | 5622 | pub fn sigprocmask(flags: u32, noalias set: ?*const sigset_t, noalias oldset: ?*sigset_t) void { |
| 5623 | switch (errno(system.sigprocmask(flags, set, oldset))) { | 5623 | switch (errno(system.sigprocmask(@bitCast(flags), set, oldset))) { |
| 5624 | .SUCCESS => return, | 5624 | .SUCCESS => return, |
| 5625 | .FAULT => unreachable, | 5625 | .FAULT => unreachable, |
| 5626 | .INVAL => unreachable, | 5626 | .INVAL => unreachable, |