| author | |
| committer | |
| log | 4d2868f24298981f67dea03ab523a97fd9399a43 |
| tree | 04596666a562a819c5a65e4fd99a5bcad7487389 |
| parent | 08cddaf11c7bac5fba2e696ed6b99d1f7b730543 |
| signature |
I know of no "POSIX" system that does not have a sigaction() syscall.
Closes #20704.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/posix.zig+1-1| ... | ... | @@ -5661,7 +5661,7 @@ pub fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) SigaltstackError!void { |
| 5661 | 5661 | pub fn sigaction(sig: u6, noalias act: ?*const Sigaction, noalias oact: ?*Sigaction) error{OperationNotSupported}!void { |
| 5662 | 5662 | switch (errno(system.sigaction(sig, act, oact))) { |
| 5663 | 5663 | .SUCCESS => return, |
| 5664 | .INVAL, .NOSYS => return error.OperationNotSupported, | |
| 5664 | .INVAL => return error.OperationNotSupported, | |
| 5665 | 5665 | else => unreachable, |
| 5666 | 5666 | } |
| 5667 | 5667 | } |