aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/syscalls/syswait.c
blob: 86544fa0bec80d54f2171eb72853b1d0ef4ea05b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* connector for wait */

#include <reent.h>

int
wait (status)
     int *status;
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _wait_r (_REENT, status);
#else
  return _wait (status);
#endif
}