Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sys_wait.c « riscv « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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;
}