We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3beb97c + 20b7e44 commit 179242eCopy full SHA for 179242e
src/unix/redox/mod.rs
@@ -151,12 +151,20 @@ s! {
151
}
152
153
pub struct sigaction {
154
- pub sa_handler: ::sighandler_t,
+ pub sa_sigaction: ::sighandler_t,
155
pub sa_flags: ::c_ulong,
156
pub sa_restorer: ::Option<extern fn()>,
157
pub sa_mask: ::sigset_t,
158
159
160
+ pub struct siginfo_t {
161
+ pub si_signo: ::c_int,
162
+ pub si_errno: ::c_int,
163
+ pub si_code: ::c_int,
164
+ _pad: [::c_int; 29],
165
+ _align: [usize; 0],
166
+ }
167
+
168
pub struct sockaddr {
169
pub sa_family: ::sa_family_t,
170
pub sa_data: [::c_char; 14],
0 commit comments