newlib/libgloss/riscv/sys_execve.c

12 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;
}