| ... | ... | @@ -2528,6 +2528,8 @@ pub const _SC = if (builtin.abi.isAndroid()) enum(c_int) { |
| 2528 | 2528 | .solaris, .illumos => enum(c_int) { |
| 2529 | 2529 | PAGESIZE = 11, |
| 2530 | 2530 | NPROCESSORS_ONLN = 15, |
| 2531 | SIGRT_MIN = 40, |
| 2532 | SIGRT_MAX = 41, |
| 2531 | 2533 | }, |
| 2532 | 2534 | // https://github.com/SerenityOS/serenity/blob/1dfc9e2df39dd23f1de92530677c845aae4345f2/Kernel/API/POSIX/unistd.h#L36-L52 |
| 2533 | 2535 | .serenity => enum(c_int) { |
| ... | ... | @@ -10489,6 +10491,7 @@ pub fn sigrtmin() u8 { |
| 10489 | 10491 | return switch (native_os) { |
| 10490 | 10492 | .freebsd => 65, |
| 10491 | 10493 | .netbsd => 33, |
| 10494 | .solaris, .illumos => @truncate(sysconf(@intFromEnum(_SC.SIGRT_MIN))), |
| 10492 | 10495 | else => @truncate(@as(c_uint, @bitCast(private.__libc_current_sigrtmin()))), |
| 10493 | 10496 | }; |
| 10494 | 10497 | } |
| ... | ... | @@ -10498,6 +10501,7 @@ pub fn sigrtmax() u8 { |
| 10498 | 10501 | return switch (native_os) { |
| 10499 | 10502 | .freebsd => 126, |
| 10500 | 10503 | .netbsd => 63, |
| 10504 | .solaris, .illumos => @truncate(sysconf(@intFromEnum(_SC.SIGRT_MAX))), |
| 10501 | 10505 | else => @truncate(@as(c_uint, @bitCast(private.__libc_current_sigrtmax()))), |
| 10502 | 10506 | }; |
| 10503 | 10507 | } |