aboutsummaryrefslogtreecommitdiff
path: root/libgloss/riscv/sys_wait.c
blob: 25bf448003b68c84070666c09e213dfd3fae3836 (plain)
1
2
3
4
5
6
7
8
9
10
#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;
}