Isaac Freund b78f3bf1f1
std: fix definition of SIG_IGN, SIG_DFL, etc.
POSIX specifies that the sa_handler field of the sigaction struct may
be set to SIG_IGN or SIG_DFL. However, the current constants in the
standard library use the function pointer signature corresponding to
the sa_sigaction field instead.

This may not cause issues in practice because the fields usually occupy
the same memory in a union, but this isn't required by POSIX and there
may be systems we do not yet support that do this differently.

Fixing this also makes the Zig interface less confusing to use after
reading the man page.
2022-08-11 12:09:34 +02:00
..
2022-08-03 21:19:41 +02:00
2022-08-09 16:19:55 +03:00
2022-05-13 16:43:59 -04:00
2022-04-20 17:18:06 -07:00
2022-01-07 00:06:06 -05:00
2022-06-03 20:21:20 +03:00
2022-04-14 10:12:45 -07:00
2022-07-09 15:19:03 +03:00
2022-05-26 21:58:19 -07:00
2022-08-06 14:42:05 -07:00
2022-04-15 17:01:01 -05:00
2022-01-07 00:06:06 -05:00