blob: 56eb171e0ac48c46857d0f82a38bf697e0dabfea [file] [log] [blame]
#include <unistd.h>
#include <signal.h>
#include "syscall.h"
#include "libc.h"
int pause(void)
{
#ifdef SYS_pause
return syscall_cp(SYS_pause);
#else
return syscall_cp(SYS_ppoll, 0, 0, 0, 0);
#endif
}