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

#include <reent.h>

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