[][src]Function linux::syscall::execveat

pub fn execveat(
    fd: c_int,
    filename: KStr,
    argv: *const *const c_char,
    envp: *const *const c_char,
    flags: c_int
) -> c_int

Executes a file relative to a directory.

[argument, fd] The directory relative to which relative paths will be interpreted.

[argument, filename] The file to execute.

[argument, argv] The argument pointer.

[argument, envp] The environment pointer.

[argument, flags] Flags used when executing a process.

[return_value] Returns success or an error value.

= See also

  • link:man:execveat(2)