Files
2018-05-27 20:43:26 +00:00

24 lines
636 B
C

/*
* Stub version of wait.
*/
#include "config.h"
#include <_ansi.h>
#include <_syslist.h>
#include <errno.h>
//---------------------------------------------------------------------------------
#ifdef REENTRANT_SYSCALLS_PROVIDED
//---------------------------------------------------------------------------------
int _wait_r( struct _reent *r, int *status) {
#else
//---------------------------------------------------------------------------------
int _wait( int *status) {
struct _reent *r = _REENT;
#endif
//---------------------------------------------------------------------------------
r->_errno = ENOSYS;
return -1;
}