spawnve(2)

DESCRIPTION

Creates a process from an executable path.

SYNOPSIS

long spawnve(const char *path, char *const argv[], char *const envp[]);

RETURN VALUE

  • Returns a non-negative result on success. Negative values are ABI errno codes.

ERRORS

  • -E2BIG
    • .
  • -EAGAIN
    • .
  • -EFAULT
    • .
  • -EIO
    • .
  • -ENOMEM
    • .
  • -ENOENT
    • .
  • -ENOEXEC
    • .

ABI

Arguments enter through the direct syscall ABI; validation is performed before entering the process subsystem.