Projet_SETI_RISC-V/riscv-gnu-toolchain/newlib/libgloss/riscv/sys_execve.c
2023-03-06 14:48:14 +01:00

11 lines
290 B
C

#include <machine/syscall.h>
#include "internal_syscall.h"
/* Transfer control to a new process. Minimal implementation for a
system without processes from newlib documentation. */
int
_execve(const char *name, char *const argv[], char *const env[])
{
errno = ENOMEM;
return -1;
}