MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / execve

Function execve

src/backend/linux_raw/runtime/syscalls.rs:99–105  ·  view source on GitHub ↗
(
    path: &CStr,
    args: *const *const u8,
    env_vars: *const *const u8,
)

Source from the content-addressed store, hash-verified

97}
98
99pub(crate) unsafe fn execve(
100 path: &CStr,
101 args: *const *const u8,
102 env_vars: *const *const u8,
103) -> io::Errno {
104 ret_error(syscall_readonly!(__NR_execve, path, args, env_vars))
105}
106
107pub(crate) mod tls {
108 use super::*;

Callers

nothing calls this directly

Calls 1

ret_errorFunction · 0.85

Tested by

no test coverage detected