Skip to content

Commit ebf01ce

Browse files
committed
Auto merge of #3383 - devnexen:apple_execvP, r=JohnTitor
adding execvP for apple
2 parents f0a9334 + 709e5d6 commit ebf01ce

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libc-test/semver/apple.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1883,6 +1883,7 @@ endpwent
18831883
endservent
18841884
endutxent
18851885
exchangedata
1886+
execvP
18861887
faccessat
18871888
fchdir
18881889
fchflags

src/unix/bsd/apple/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6396,6 +6396,11 @@ extern "C" {
63966396
dev: dev_t,
63976397
) -> ::c_int;
63986398
pub fn freadlink(fd: ::c_int, buf: *mut ::c_char, size: ::size_t) -> ::c_int;
6399+
pub fn execvP(
6400+
file: *const ::c_char,
6401+
search_path: *const ::c_char,
6402+
argv: *const *mut ::c_char,
6403+
) -> ::c_int;
63996404
}
64006405

64016406
pub unsafe fn mach_task_self() -> ::mach_port_t {

0 commit comments

Comments
 (0)