newlib/libgloss/riscv/sys_wait.c

11 lines
219 B
C
Raw Normal View History

#include <machine/syscall.h>
#include <errno.h>
/* Wait for a child process. Minimal implementation for a system without
processes just causes an error. */
int _wait(int *status)
{
errno = ECHILD;
return -1;
}