| ... | @@ -5661,7 +5661,7 @@ pub fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) SigaltstackError!void { | ... | @@ -5661,7 +5661,7 @@ pub fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) SigaltstackError!void { |
| 5661 | pub fn sigaction(sig: u6, noalias act: ?*const Sigaction, noalias oact: ?*Sigaction) error{OperationNotSupported}!void { | 5661 | pub fn sigaction(sig: u6, noalias act: ?*const Sigaction, noalias oact: ?*Sigaction) error{OperationNotSupported}!void { |
| 5662 | switch (errno(system.sigaction(sig, act, oact))) { | 5662 | switch (errno(system.sigaction(sig, act, oact))) { |
| 5663 | .SUCCESS => return, | 5663 | .SUCCESS => return, |
| 5664 | .INVAL, .NOSYS => return error.OperationNotSupported, | 5664 | .INVAL => return error.OperationNotSupported, |
| 5665 | else => unreachable, | 5665 | else => unreachable, |
| 5666 | } | 5666 | } |
| 5667 | } | 5667 | } |