File tree Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,15 @@ s! {
161
161
}
162
162
}
163
163
164
+ // These constants must be of the same type of sigaction.sa_flags
165
+ pub const SA_NOCLDSTOP : :: c_ulong = 0x00000001 ;
166
+ pub const SA_NOCLDWAIT : :: c_ulong = 0x00000002 ;
167
+ pub const SA_NODEFER : :: c_ulong = 0x40000000 ;
168
+ pub const SA_ONSTACK : :: c_ulong = 0x08000000 ;
169
+ pub const SA_RESETHAND : :: c_ulong = 0x80000000 ;
170
+ pub const SA_RESTART : :: c_ulong = 0x10000000 ;
171
+ pub const SA_SIGINFO : :: c_ulong = 0x00000004 ;
172
+
164
173
pub const RTLD_GLOBAL : :: c_int = 2 ;
165
174
pub const RTLD_NOW : :: c_int = 0 ;
166
175
pub const RTLD_DEFAULT : * mut :: c_void = -1isize as * mut :: c_void ;
Original file line number Diff line number Diff line change @@ -231,6 +231,15 @@ cfg_if! {
231
231
}
232
232
}
233
233
234
+ // These constants must be of the same type of sigaction.sa_flags
235
+ pub const SA_NOCLDSTOP : :: c_uint = 0x00000001 ;
236
+ pub const SA_NOCLDWAIT : :: c_uint = 0x00000002 ;
237
+ pub const SA_NODEFER : :: c_uint = 0x40000000 ;
238
+ pub const SA_ONSTACK : :: c_uint = 0x08000000 ;
239
+ pub const SA_RESETHAND : :: c_uint = 0x80000000 ;
240
+ pub const SA_RESTART : :: c_uint = 0x10000000 ;
241
+ pub const SA_SIGINFO : :: c_uint = 0x00000004 ;
242
+
234
243
pub const RTLD_GLOBAL : :: c_int = 0x00100 ;
235
244
pub const RTLD_NOW : :: c_int = 2 ;
236
245
pub const RTLD_DEFAULT : * mut :: c_void = 0i64 as * mut :: c_void ;
Original file line number Diff line number Diff line change @@ -560,11 +560,6 @@ pub const ECOMM: ::c_int = 70;
560
560
pub const EPROTO : :: c_int = 71 ;
561
561
pub const EDOTDOT : :: c_int = 73 ;
562
562
563
- pub const SA_NODEFER : :: c_int = 0x40000000 ;
564
- pub const SA_RESETHAND : :: c_int = 0x80000000 ;
565
- pub const SA_RESTART : :: c_int = 0x10000000 ;
566
- pub const SA_NOCLDSTOP : :: c_int = 0x00000001 ;
567
-
568
563
pub const EPOLL_CLOEXEC : :: c_int = 0x80000 ;
569
564
pub const EPOLLONESHOT : :: c_int = 0x40000000 ;
570
565
pub const EPOLLRDHUP : :: c_int = 0x00002000 ;
@@ -745,9 +740,6 @@ pub const PTHREAD_MUTEX_DEFAULT: ::c_int = PTHREAD_MUTEX_NORMAL;
745
740
746
741
pub const FIOCLEX : :: c_int = 0x5451 ;
747
742
748
- pub const SA_ONSTACK : :: c_ulong = 0x08000000 ;
749
- pub const SA_SIGINFO : :: c_ulong = 0x00000004 ;
750
- pub const SA_NOCLDWAIT : :: c_ulong = 0x00000002 ;
751
743
pub const SIGCHLD : :: c_int = 17 ;
752
744
pub const SIGBUS : :: c_int = 7 ;
753
745
pub const SIGUSR1 : :: c_int = 10 ;
You can’t perform that action at this time.
0 commit comments