Lines Matching defs:execve
804 /// See the `::nix::unistd::execve` system call for additional details. `execv`
820 /// [execve(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html)).
822 /// The execve system call allows for another process to be "called" which will
827 /// `::nix::unistd::execv` and `::nix::unistd::execve` take as arguments a slice
828 /// of `::std::ffi::CString`s for `args` and `env` (for `execve`). Each element
832 pub fn execve<SA: AsRef<CStr>, SE: AsRef<CStr>>(path: &CStr, args: &[SA], env: &[SE]) -> Result<Infallible> {
837 libc::execve(path.as_ptr(), args_p.as_ptr(), env_p.as_ptr())
847 /// See `::nix::unistd::execve` for additional details. `execvp` behaves the
867 /// This functions like a combination of `execvp(2)` and `execve(2)` to pass an
892 /// This function is similar to `execve`, except that the program to be executed
918 /// This function is similar to `execve`, except that the program to be executed