File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 63
63
}
64
64
65
65
pub struct sigaction {
66
- pub sa_flags: :: c_uint ,
66
+ pub sa_flags: :: c_int ,
67
67
pub sa_sigaction: :: sighandler_t,
68
68
pub sa_mask: sigset_t,
69
69
_restorer: * mut :: c_void,
@@ -190,7 +190,7 @@ pub const RLIMIT_AS: ::c_int = 6;
190
190
pub const RLIMIT_RSS : :: c_int = 7 ;
191
191
pub const RLIMIT_NPROC : :: c_int = 8 ;
192
192
pub const RLIMIT_MEMLOCK : :: c_int = 9 ;
193
- pub const RLIMIT_NLIMITS : :: c_int = 15 ;
193
+ pub const RLIMIT_NLIMITS : :: c_int = 16 ;
194
194
pub const RLIM_INFINITY : :: rlim_t = 0x7fffffff ;
195
195
196
196
pub const O_APPEND : :: c_int = 8 ;
@@ -454,7 +454,7 @@ extern {
454
454
hostlen : :: socklen_t ,
455
455
serv : * mut :: c_char ,
456
456
sevlen : :: socklen_t ,
457
- flags : :: c_uint ) -> :: c_int ;
458
- pub fn eventfd ( init : :: c_int , flags : :: c_int ) -> :: c_int ;
457
+ flags : :: c_int ) -> :: c_int ;
458
+ pub fn eventfd ( init : :: c_uint , flags : :: c_int ) -> :: c_int ;
459
459
pub fn ptrace ( request : :: c_uint , ...) -> :: c_long ;
460
460
}
You can’t perform that action at this time.
0 commit comments