File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2575,6 +2575,7 @@ fn test_freebsd(target: &str) {
2575
2575
// skip those that are manually verified
2576
2576
match name {
2577
2577
// FIXME: https://github.com/rust-lang/libc/issues/1272
2578
+ // Also, `execvpe` is introduced in FreeBSD 14.1
2578
2579
"execv" | "execve" | "execvp" | "execvpe" | "fexecve" => true ,
2579
2580
2580
2581
// The `uname` function in the `utsname.h` FreeBSD header is a C
Original file line number Diff line number Diff line change @@ -1870,6 +1870,7 @@ eui64_hostton
1870
1870
eui64_ntoa
1871
1871
eui64_ntohost
1872
1872
exect
1873
+ execvpe
1873
1874
execvP
1874
1875
explicit_bzero
1875
1876
extattr_delete_fd
Original file line number Diff line number Diff line change @@ -5648,6 +5648,12 @@ extern "C" {
5648
5648
) -> :: c_int ;
5649
5649
pub fn closefrom ( lowfd : :: c_int ) ;
5650
5650
pub fn close_range ( lowfd : :: c_uint , highfd : :: c_uint , flags : :: c_int ) -> :: c_int ;
5651
+
5652
+ pub fn execvpe (
5653
+ file : * const :: c_char ,
5654
+ argv : * const * const :: c_char ,
5655
+ envp : * const * const :: c_char ,
5656
+ ) -> :: c_int ;
5651
5657
}
5652
5658
5653
5659
#[ link( name = "memstat" ) ]
You can’t perform that action at this time.
0 commit comments