newlib-cygwin/newlib/libc/syscalls/syswait.c

15 lines
194 B
C

/* 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
}