@@ -1013,13 +1013,28 @@ extern "C" {
1013
1013
pub fn execle ( path : * const c_char , arg0 : * const c_char , ...) -> c_int ;
1014
1014
pub fn execlp ( file : * const c_char , arg0 : * const c_char , ...) -> c_int ;
1015
1015
1016
+ #[ cfg( target_os = "aix" ) ]
1017
+ pub fn execv ( prog : * const c_char , argv : * const * mut c_char ) -> c_int ;
1018
+ #[ cfg( not( target_os = "aix" ) ) ]
1016
1019
// DIFF(main): changed to `*const *mut` in e77f551de9
1017
1020
pub fn execv ( prog : * const c_char , argv : * const * const c_char ) -> c_int ;
1021
+ #[ cfg( target_os = "aix" ) ]
1022
+ pub fn execve (
1023
+ prog : * const c_char ,
1024
+ argv : * const * mut c_char ,
1025
+ envp : * const * mut c_char ,
1026
+ ) -> c_int ;
1027
+ #[ cfg( not( target_os = "aix" ) ) ]
1028
+ // DIFF(main): changed to `*const *mut` in e77f551de9
1018
1029
pub fn execve (
1019
1030
prog : * const c_char ,
1020
1031
argv : * const * const c_char ,
1021
1032
envp : * const * const c_char ,
1022
1033
) -> c_int ;
1034
+ #[ cfg( target_os = "aix" ) ]
1035
+ pub fn execvp ( c : * const c_char , argv : * const * mut c_char ) -> c_int ;
1036
+ #[ cfg( not( target_os = "aix" ) ) ]
1037
+ // DIFF(main): changed to `*const *mut` in e77f551de9
1023
1038
pub fn execvp ( c : * const c_char , argv : * const * const c_char ) -> c_int ;
1024
1039
1025
1040
pub fn fork ( ) -> pid_t ;
0 commit comments