File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ pub const RAND_MAX: ::c_int = 0x7fff_ffff;
174
174
pub const PTHREAD_STACK_MIN : :: size_t = 16384 ;
175
175
pub const SIGSTKSZ : :: size_t = 40960 ;
176
176
pub const MADV_INVAL : :: c_int = 10 ;
177
+ pub const MADV_SETMAP : :: c_int = 11 ;
177
178
pub const O_CLOEXEC : :: c_int = 0x00020000 ;
178
179
pub const O_DIRECTORY : :: c_int = 0x08000000 ;
179
180
pub const F_GETLK : :: c_int = 7 ;
@@ -713,6 +714,9 @@ pub const _SC_V7_LPBIG_OFFBIG: ::c_int = 125;
713
714
pub const _SC_THREAD_ROBUST_PRIO_INHERIT: :: c_int = 126 ;
714
715
pub const _SC_THREAD_ROBUST_PRIO_PROTECT: :: c_int = 127 ;
715
716
717
+ pub const WCONTINUED : :: c_int = 4 ;
718
+ pub const WSTOPPED : :: c_int = 0o177 ;
719
+
716
720
extern {
717
721
pub fn mprotect ( addr : * mut :: c_void , len : :: size_t , prot : :: c_int )
718
722
-> :: c_int ;
Original file line number Diff line number Diff line change @@ -861,6 +861,9 @@ extern {
861
861
pub fn msgsnd ( msqid : :: c_int , msgp : * const :: c_void , msgsz : :: size_t ,
862
862
msgflg : :: c_int ) -> :: c_int ;
863
863
pub fn cfmakesane ( termios : * mut :: termios ) ;
864
+ pub fn fexecve ( fd : :: c_int , argv : * const * const :: c_char ,
865
+ envp : * const * const :: c_char )
866
+ -> :: c_int ;
864
867
}
865
868
866
869
cfg_if ! {
Original file line number Diff line number Diff line change @@ -1105,9 +1105,6 @@ extern {
1105
1105
timeout : * const :: timespec ,
1106
1106
sigmask : * const sigset_t ) -> :: c_int ;
1107
1107
pub fn settimeofday ( tv : * const :: timeval , tz : * const :: timezone ) -> :: c_int ;
1108
- pub fn fexecve ( fd : :: c_int , argv : * const * const :: c_char ,
1109
- envp : * const * const :: c_char )
1110
- -> :: c_int ;
1111
1108
}
1112
1109
1113
1110
cfg_if ! {
You can’t perform that action at this time.
0 commit comments