Skip to content

Commit 709e5d6

Browse files
committed
adding execvP for apple
1 parent 0dbadb4 commit 709e5d6

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
@@ -6347,6 +6347,11 @@ extern "C" {
63476347
dev: dev_t,
63486348
) -> ::c_int;
63496349
pub fn freadlink(fd: ::c_int, buf: *mut ::c_char, size: ::size_t) -> ::c_int;
6350+
pub fn execvP(
6351+
file: *const ::c_char,
6352+
search_path: *const ::c_char,
6353+
argv: *const *mut ::c_char,
6354+
) -> ::c_int;
63506355
}
63516356

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

0 commit comments

Comments
 (0)