File tree 3 files changed +18
-8
lines changed
3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,15 @@ s! {
129
129
}
130
130
}
131
131
132
+ // These constants must be of the same type of sigaction.sa_flags
133
+ pub const SA_NOCLDSTOP : :: c_ulong = 0x00000001 ;
134
+ pub const SA_NOCLDWAIT : :: c_ulong = 0x00000002 ;
135
+ pub const SA_NODEFER : :: c_ulong = 0x40000000 ;
136
+ pub const SA_ONSTACK : :: c_ulong = 0x08000000 ;
137
+ pub const SA_RESETHAND : :: c_ulong = 0x80000000 ;
138
+ pub const SA_RESTART : :: c_ulong = 0x10000000 ;
139
+ pub const SA_SIGINFO : :: c_ulong = 0x00000004 ;
140
+
132
141
pub const RTLD_GLOBAL : :: c_int = 2 ;
133
142
pub const RTLD_NOW : :: c_int = 0 ;
134
143
pub const RTLD_DEFAULT : * mut :: c_void = -1isize as * mut :: c_void ;
Original file line number Diff line number Diff line change @@ -143,6 +143,15 @@ s! {
143
143
}
144
144
}
145
145
146
+ // These constants must be of the same type of sigaction.sa_flags
147
+ pub const SA_NOCLDSTOP : :: c_uint = 0x00000001 ;
148
+ pub const SA_NOCLDWAIT : :: c_uint = 0x00000002 ;
149
+ pub const SA_NODEFER : :: c_uint = 0x40000000 ;
150
+ pub const SA_ONSTACK : :: c_uint = 0x08000000 ;
151
+ pub const SA_RESETHAND : :: c_uint = 0x80000000 ;
152
+ pub const SA_RESTART : :: c_uint = 0x10000000 ;
153
+ pub const SA_SIGINFO : :: c_uint = 0x00000004 ;
154
+
146
155
pub const O_DIRECT : :: c_int = 0x10000 ;
147
156
pub const O_DIRECTORY : :: c_int = 0x4000 ;
148
157
pub const O_NOFOLLOW : :: c_int = 0x8000 ;
Original file line number Diff line number Diff line change @@ -166,11 +166,6 @@ pub const ECOMM: ::c_int = 70;
166
166
pub const EPROTO : :: c_int = 71 ;
167
167
pub const EDOTDOT : :: c_int = 73 ;
168
168
169
- pub const SA_NODEFER : :: c_int = 0x40000000 ;
170
- pub const SA_RESETHAND : :: c_int = 0x80000000 ;
171
- pub const SA_RESTART : :: c_int = 0x10000000 ;
172
- pub const SA_NOCLDSTOP : :: c_int = 0x00000001 ;
173
-
174
169
pub const EPOLL_CLOEXEC : :: c_int = 0x80000 ;
175
170
176
171
pub const EFD_CLOEXEC : :: c_int = 0x80000 ;
@@ -262,9 +257,6 @@ pub const PTHREAD_MUTEX_DEFAULT: ::c_int = PTHREAD_MUTEX_NORMAL;
262
257
263
258
pub const FIOCLEX : :: c_int = 0x5451 ;
264
259
265
- pub const SA_ONSTACK : :: c_ulong = 0x08000000 ;
266
- pub const SA_SIGINFO : :: c_ulong = 0x00000004 ;
267
- pub const SA_NOCLDWAIT : :: c_ulong = 0x00000002 ;
268
260
pub const SIGCHLD : :: c_int = 17 ;
269
261
pub const SIGBUS : :: c_int = 7 ;
270
262
pub const SIGUSR1 : :: c_int = 10 ;
You can’t perform that action at this time.
0 commit comments