Skip to content

Commit 7b415ab

Browse files
committed
Auto merge of #2612 - bsiegert:master, r=Amanieu
NetBSD: add definition for execvpe This is exactly the same as the OpenBSD definition. NetBSD has had execvpe since the beginning, AFAICS.
2 parents 484570d + a1a24cd commit 7b415ab

File tree

1 file changed

+6
-0
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+6
-0
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

+6
Original file line numberDiff line numberDiff line change
@@ -2165,6 +2165,12 @@ extern "C" {
21652165
pub fn fchflags(fd: ::c_int, flags: ::c_ulong) -> ::c_int;
21662166
pub fn lchflags(path: *const ::c_char, flags: ::c_ulong) -> ::c_int;
21672167

2168+
pub fn execvpe(
2169+
file: *const ::c_char,
2170+
argv: *const *const ::c_char,
2171+
envp: *const *const ::c_char,
2172+
) -> ::c_int;
2173+
21682174
pub fn extattr_delete_fd(
21692175
fd: ::c_int,
21702176
attrnamespace: ::c_int,

0 commit comments

Comments
 (0)