about summary refs log tree commit diff
path: root/src/unistd/pause.c
blob: 90bbf4ca8ab5320a061d9e3ca0d7d854a90f32d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <unistd.h>
#include "syscall.h"

int pause(void)
{
#ifdef SYS_pause
	return syscall_cp(SYS_pause);
#else
	return syscall_cp(SYS_ppoll, 0, 0, 0, 0);
#endif
}