| ... | ... | @@ -10385,12 +10385,20 @@ pub const sigaction = switch (native_os) { |
| 10385 | 10385 | |
| 10386 | 10386 | /// Zig's version of SIGRTMIN. Actually a function. |
| 10387 | 10387 | pub fn sigrtmin() u8 { |
| 10388 | | return @truncate(@as(c_uint, @bitCast(private.__libc_current_sigrtmin()))); |
| 10388 | return switch (native_os) { |
| 10389 | .freebsd => 65, |
| 10390 | .netbsd => 33, |
| 10391 | else => @truncate(@as(c_uint, @bitCast(private.__libc_current_sigrtmin()))), |
| 10392 | }; |
| 10389 | 10393 | } |
| 10390 | 10394 | |
| 10391 | 10395 | /// Zig's version of SIGRTMAX. Actually a function. |
| 10392 | 10396 | pub fn sigrtmax() u8 { |
| 10393 | | return @truncate(@as(c_uint, @bitCast(private.__libc_current_sigrtmax()))); |
| 10397 | return switch (native_os) { |
| 10398 | .freebsd => 126, |
| 10399 | .netbsd => 63, |
| 10400 | else => @truncate(@as(c_uint, @bitCast(private.__libc_current_sigrtmax()))), |
| 10401 | }; |
| 10394 | 10402 | } |
| 10395 | 10403 | |
| 10396 | 10404 | pub const sigfillset = switch (native_os) { |