| ... | ... | @@ -3121,8 +3121,17 @@ pub const SIG = switch (native_os) { |
| 3121 | 3121 | pub const UNBLOCK = 2; |
| 3122 | 3122 | pub const SETMASK = 3; |
| 3123 | 3123 | }, |
| 3124 | // https://github.com/SerenityOS/serenity/blob/046c23f567a17758d762a33bdf04bacbfd088f9f/Kernel/API/POSIX/signal.h |
| 3124 | 3125 | // https://github.com/SerenityOS/serenity/blob/046c23f567a17758d762a33bdf04bacbfd088f9f/Kernel/API/POSIX/signal_numbers.h |
| 3125 | 3126 | .serenity => struct { |
| 3127 | pub const DFL: ?Sigaction.handler_fn = @ptrFromInt(0); |
| 3128 | pub const ERR: ?Sigaction.handler_fn = @ptrFromInt(maxInt(usize)); |
| 3129 | pub const IGN: ?Sigaction.handler_fn = @ptrFromInt(1); |
| 3130 | |
| 3131 | pub const BLOCK = 1; |
| 3132 | pub const UNBLOCK = 2; |
| 3133 | pub const SETMASK = 3; |
| 3134 | |
| 3126 | 3135 | pub const INVAL = 0; |
| 3127 | 3136 | pub const HUP = 1; |
| 3128 | 3137 | pub const INT = 2; |