@@ -50,7 +50,7 @@ foreign lib {
5050
5151 /*
5252 Send a signal to a thread.
53-
53+
5454 As with kill, if sig is 0, only validation (of the pthread_t given) is done and no signal is sent.
5555
5656 [[ More; https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_kill.html ]]
@@ -124,7 +124,7 @@ foreign lib {
124124 sigignore :: proc (sig: Signal) -> result ---
125125
126126 /*
127- Removes sig from the signal mask of the calling process and suspend the calling process until
127+ Removes sig from the signal mask of the calling process and suspend the calling process until
128128 a signal is received.
129129
130130 [[ More; https://pubs.opengroup.org/onlinepubs/9699919799/functions/sighold.html ]]
@@ -166,7 +166,7 @@ foreign lib {
166166 [[ More; https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigpending.html ]]
167167 */
168168 @ (link_name=LSIGPENDING)
169- sigpending :: proc (set: ^sigset_t) -> result ---
169+ sigpending :: proc (set: ^sigset_t) -> result ---
170170
171171 /*
172172 Wait for one of the given signals.
@@ -333,7 +333,7 @@ SS_Flag_Bits :: enum c.int {
333333SS_Flags :: bit_set [SS_Flag_Bits; c.int ]
334334
335335Sig :: enum c.int {
336- // Resulting set is the union of the current set and the signal set and the complement of
336+ // Resulting set is the union of the current set and the signal set and the complement of
337337 // the signal set pointed to by the argument.
338338 BLOCK = SIG_BLOCK,
339339 // Resulting set is the intersection of the current set and the complement of the signal set
@@ -395,6 +395,7 @@ when ODIN_OS == .Darwin {
395395 SIGXFSZ :: 25
396396 SIGVTALRM :: 26
397397 SIGPROF :: 27
398+ SIGWINCH :: 28
398399 SIGUSR1 :: 30
399400 SIGUSR2 :: 31
400401
@@ -535,6 +536,7 @@ when ODIN_OS == .Darwin {
535536 SIGXFSZ :: 25
536537 SIGVTALRM :: 26
537538 SIGPROF :: 27
539+ SIGWINCH :: 28
538540 SIGUSR1 :: 30
539541 SIGUSR2 :: 31
540542
@@ -699,6 +701,7 @@ when ODIN_OS == .Darwin {
699701 SIGXFSZ :: 25
700702 SIGVTALRM :: 26
701703 SIGPROF :: 27
704+ SIGWINCH :: 28
702705 SIGUSR1 :: 30
703706 SIGUSR2 :: 31
704707
@@ -876,6 +879,7 @@ when ODIN_OS == .Darwin {
876879 SIGXFSZ :: 25
877880 SIGVTALRM :: 26
878881 SIGPROF :: 27
882+ SIGWINCH :: 28
879883 SIGUSR1 :: 30
880884 SIGUSR2 :: 31
881885
@@ -1036,6 +1040,7 @@ when ODIN_OS == .Darwin {
10361040 SIGXFSZ :: 25
10371041 SIGVTALRM :: 26
10381042 SIGPROF :: 27
1043+ SIGWINCH :: 28
10391044 SIGPOLL :: 29
10401045 SIGSYS :: 31
10411046
@@ -1084,7 +1089,7 @@ when ODIN_OS == .Darwin {
10841089 @(private)
10851090 __SI_MAX_SIZE :: 128
10861091
1087- when size_of (int ) == 8 {
1092+ when size_of (int ) == 8 {
10881093 @(private)
10891094 _pad0 :: struct {
10901095 _pad0: c.int ,
0 commit comments