Rename sigaction duplicate type to sigaction_t on linux, following other platforms.
This commit is contained in:
1 parent
10702f1134
commit
5162c6c506
1 file changed
+3
-1
@@ -1172,7 +1172,9 @@ when ODIN_OS == .Darwin {
|
||||
SIGPOLL :: 29
|
||||
SIGSYS :: 31
|
||||
|
||||
sigaction :: struct {
|
||||
// NOTE: this is actually defined as `sigaction`, but due to the function with the same name
|
||||
// `_t` has been added.
|
||||
sigaction_t :: struct {
|
||||
sa_handler: proc "c" (Signal),
|
||||
sa_flags: SA_Flags,
|
||||
sa_mask: sigset_t,
|
||||
|
||||
Reference in new issue
Block a user