summaryrefslogblamecommitdiff
path: root/src/unistd/pause.c
blob: 57ed25e5d302c08c4dbdcc815293b2e0b4620e9a (plain) (tree)
1
2
3
4
5
6
7
8
9







                       
                               


                     
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int pause(void)
{
	int r;
	CANCELPT_BEGIN;
	r = syscall(SYS_pause);
	CANCELPT_END;
	return r;
}