| ... | @@ -3499,6 +3499,7 @@ pub const SIG = if (is_mips) struct { | ... | @@ -3499,6 +3499,7 @@ pub const SIG = if (is_mips) struct { |
| 3499 | pub const UNBLOCK = 2; | 3499 | pub const UNBLOCK = 2; |
| 3500 | pub const SETMASK = 3; | 3500 | pub const SETMASK = 3; |
| 3501 | | 3501 | |
| | 3502 | // https://github.com/torvalds/linux/blob/ca91b9500108d4cf083a635c2e11c884d5dd20ea/arch/mips/include/uapi/asm/signal.h#L25 |
| 3502 | pub const HUP = 1; | 3503 | pub const HUP = 1; |
| 3503 | pub const INT = 2; | 3504 | pub const INT = 2; |
| 3504 | pub const QUIT = 3; | 3505 | pub const QUIT = 3; |
| ... | @@ -3506,33 +3507,32 @@ pub const SIG = if (is_mips) struct { | ... | @@ -3506,33 +3507,32 @@ pub const SIG = if (is_mips) struct { |
| 3506 | pub const TRAP = 5; | 3507 | pub const TRAP = 5; |
| 3507 | pub const ABRT = 6; | 3508 | pub const ABRT = 6; |
| 3508 | pub const IOT = ABRT; | 3509 | pub const IOT = ABRT; |
| 3509 | pub const BUS = 7; | 3510 | pub const EMT = 7; |
| 3510 | pub const FPE = 8; | 3511 | pub const FPE = 8; |
| 3511 | pub const KILL = 9; | 3512 | pub const KILL = 9; |
| 3512 | pub const USR1 = 10; | 3513 | pub const BUS = 10; |
| 3513 | pub const SEGV = 11; | 3514 | pub const SEGV = 11; |
| 3514 | pub const USR2 = 12; | 3515 | pub const SYS = 12; |
| 3515 | pub const PIPE = 13; | 3516 | pub const PIPE = 13; |
| 3516 | pub const ALRM = 14; | 3517 | pub const ALRM = 14; |
| 3517 | pub const TERM = 15; | 3518 | pub const TERM = 15; |
| 3518 | pub const STKFLT = 16; | 3519 | pub const USR1 = 16; |
| 3519 | pub const CHLD = 17; | 3520 | pub const USR2 = 17; |
| 3520 | pub const CONT = 18; | 3521 | pub const CHLD = 18; |
| 3521 | pub const STOP = 19; | 3522 | pub const PWR = 19; |
| 3522 | pub const TSTP = 20; | 3523 | pub const WINCH = 20; |
| 3523 | pub const TTIN = 21; | 3524 | pub const URG = 21; |
| 3524 | pub const TTOU = 22; | 3525 | pub const IO = 22; |
| 3525 | pub const URG = 23; | 3526 | pub const POLL = IO; |
| 3526 | pub const XCPU = 24; | 3527 | pub const STOP = 23; |
| 3527 | pub const XFSZ = 25; | 3528 | pub const TSTP = 24; |
| 3528 | pub const VTALRM = 26; | 3529 | pub const CONT = 25; |
| 3529 | pub const PROF = 27; | 3530 | pub const TTIN = 26; |
| 3530 | pub const WINCH = 28; | 3531 | pub const TTOU = 27; |
| 3531 | pub const IO = 29; | 3532 | pub const VTALRM = 28; |
| 3532 | pub const POLL = 29; | 3533 | pub const PROF = 29; |
| 3533 | pub const PWR = 30; | 3534 | pub const XCPU = 30; |
| 3534 | pub const SYS = 31; | 3535 | pub const XFZ = 31; |
| 3535 | pub const UNUSED = SIG.SYS; | | |
| 3536 | | 3536 | |
| 3537 | pub const ERR: ?Sigaction.handler_fn = @ptrFromInt(maxInt(usize)); | 3537 | pub const ERR: ?Sigaction.handler_fn = @ptrFromInt(maxInt(usize)); |
| 3538 | pub const DFL: ?Sigaction.handler_fn = @ptrFromInt(0); | 3538 | pub const DFL: ?Sigaction.handler_fn = @ptrFromInt(0); |