Pat Tullmann
6eb5e56306
std.posix: Add sigrtmin() and sigrtmax()
...
For C code the macros SIGRTMIN and SIGRTMAX provide these values. In
practice what looks like a constant is actually provided by a libc call.
So the Zig implementations are explicitly function calls.
glibc (and Musl) export a run-time minimum "real-time" signal number,
based on how many signals are reserved for internal implementation details
(generally threading). In practice, on Linux, sigrtmin() is 35 on glibc
with the older LinuxThread and 34 with the newer NPTL-based
implementation. Musl always returns 35. The maximum "real-time" signal
number is NSIG - 1 (64 on most Linux kernels, but 128 on MIPS).
When not linking a C Library, Zig can report the full range of "rt"
signals (none are reserved by Zig).
Fixes #21189
2025-05-09 15:10:25 +02:00
..
2025-04-27 05:42:18 +01:00
2025-04-30 20:32:04 -07:00
2025-03-31 17:22:44 +11:00
2025-05-05 18:50:25 +00:00
2025-04-27 23:30:00 -07:00
2024-12-19 17:10:03 -05:00
2024-08-28 08:39:59 +01:00
2025-04-26 14:31:28 +02:00
2025-02-22 14:32:48 -08:00
2025-04-13 02:20:32 -04:00
2025-04-03 15:57:35 -07:00
2025-04-13 02:20:32 -04:00
2025-03-24 22:08:05 +01:00
2025-04-16 11:10:22 +02:00
2025-04-13 02:20:32 -04:00
2025-04-13 02:20:32 -04:00
2025-04-04 11:40:44 +00:00
2025-05-09 15:10:25 +02:00
2025-05-09 15:10:25 +02:00
2025-03-25 23:48:27 +01:00
2024-08-27 00:44:35 +01:00
2025-04-16 19:17:25 +00:00
2025-04-04 06:08:09 +02:00
2025-04-23 19:28:28 -04:00
2025-04-03 14:55:04 -07:00
2025-03-08 14:25:28 -05:00
2024-11-04 10:56:32 +01:00
2025-04-27 23:30:00 -07:00
2025-01-17 22:55:55 +01:00
2025-04-13 02:20:32 -04:00
2025-04-13 02:20:32 -04:00
2025-04-13 02:20:32 -04:00
2025-04-27 19:37:43 +02:00
2025-02-22 03:48:09 +01:00
2025-03-24 11:42:28 +00:00
2025-03-24 16:12:23 +01:00
2025-04-13 02:20:32 -04:00
2025-04-22 22:50:36 +01:00
2025-05-03 11:22:27 +02:00
2025-05-09 15:10:25 +02:00
2024-08-23 19:56:24 +02:00
2025-02-05 13:58:15 +01:00
2025-04-12 20:13:45 +02:00
2025-04-30 20:32:04 -07:00
2025-04-03 15:57:35 -07:00
2024-08-22 08:44:08 +02:00
2025-03-03 20:01:05 +01:00
2025-02-22 17:33:49 -05:00
2025-04-15 23:36:43 +02:00
2025-02-06 14:23:23 -08:00
2025-03-24 11:40:19 +00:00
2025-04-14 22:20:44 +02:00
2025-03-17 21:56:17 +03:30
2025-04-13 02:20:32 -04:00
2025-02-22 14:32:48 -08:00
2025-04-13 02:20:32 -04:00
2024-08-07 00:48:32 -07:00
2025-04-13 02:20:32 -04:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-07-31 16:57:42 -07:00
2025-04-13 02:20:32 -04:00
2025-04-26 13:34:17 +10:00
2025-03-24 11:13:58 +00:00
2025-04-13 02:20:32 -04:00
2025-04-04 11:40:44 +00:00
2024-08-27 00:44:35 +01:00
2025-05-09 11:20:42 +02:00
2024-08-29 23:43:52 +01:00
2025-05-09 15:10:25 +02:00
2025-02-01 19:02:39 +01:00
2025-04-15 20:08:59 +02:00
2025-05-03 20:09:51 +01:00
2025-02-03 17:07:28 -08:00
2024-08-28 08:39:59 +01:00
2024-10-31 20:42:53 +00:00
2025-04-11 02:28:35 +02:00
2025-04-03 14:55:04 -07:00
2024-09-23 13:03:06 -07:00
2025-04-30 20:32:04 -07:00
2025-04-03 15:35:21 -07:00
2025-04-16 19:17:25 +00:00
2025-05-03 11:22:27 +02:00
2025-02-16 15:51:40 +01:00
2025-03-11 14:59:42 +00:00
2025-03-02 23:16:34 +00:00
2024-08-21 01:30:46 +01:00
2024-11-04 12:39:48 +01:00
2025-01-15 15:11:36 -08:00
2025-04-26 22:54:34 +02:00
2025-02-06 14:23:23 -08:00
2025-02-03 09:14:37 +00:00