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

10 lines
219 B
C

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