Skip to content

Commit

Permalink
Auto merge of #3383 - devnexen:apple_execvP, r=JohnTitor
Browse files Browse the repository at this point in the history
adding execvP for apple
  • Loading branch information
bors committed Oct 14, 2023
2 parents f0a9334 + 709e5d6 commit ebf01ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/apple.txt
Expand Up @@ -1883,6 +1883,7 @@ endpwent
endservent
endutxent
exchangedata
execvP
faccessat
fchdir
fchflags
Expand Down
5 changes: 5 additions & 0 deletions src/unix/bsd/apple/mod.rs
Expand Up @@ -6396,6 +6396,11 @@ extern "C" {
dev: dev_t,
) -> ::c_int;
pub fn freadlink(fd: ::c_int, buf: *mut ::c_char, size: ::size_t) -> ::c_int;
pub fn execvP(
file: *const ::c_char,
search_path: *const ::c_char,
argv: *const *mut ::c_char,
) -> ::c_int;
}

pub unsafe fn mach_task_self() -> ::mach_port_t {
Expand Down

0 comments on commit ebf01ce

Please sign in to comment.