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) {
25752575 // skip those that are manually verified
25762576 match name {
25772577 // FIXME: https://github.com/rust-lang/libc/issues/1272
2578+ // Also, `execvpe` is introduced in FreeBSD 14.1
25782579 "execv" | "execve" | "execvp" | "execvpe" | "fexecve" => true ,
25792580
25802581 // 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
18701870eui64_ntoa
18711871eui64_ntohost
18721872exect
1873+ execvpe
18731874execvP
18741875explicit_bzero
18751876extattr_delete_fd
Original file line number Diff line number Diff line change @@ -5648,6 +5648,12 @@ extern "C" {
56485648 ) -> :: c_int ;
56495649 pub fn closefrom ( lowfd : :: c_int ) ;
56505650 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 ;
56515657}
56525658
56535659#[ link( name = "memstat" ) ]
You can’t perform that action at this time.
0 commit comments