summaryrefslogtreecommitdiff
path: root/src/unistd/pause.c
blob: 14720651c4117f748964134b5a6e9e247a2f5b0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int pause(void)
{
	int r;
	CANCELPT_BEGIN;
	r = syscall0(__NR_pause);
	CANCELPT_END;
	return r;
}