Skip to content

Commit a1a24cd

Browse files
committed
NetBSD: add definition for execvpe
This is exactly the same as the OpenBSD definition. NetBSD has had execvpe since the beginning, AFAICS.
1 parent 52382d6 commit a1a24cd

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

Lines changed: 6 additions & 0 deletions
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)