summaryrefslogtreecommitdiff
path: root/src/unistd/getppid.c
blob: a3241829964940c1bd273b632ca56de89baea5a5 (plain) (blame)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

pid_t getppid(void)
{
	return syscall0(__NR_getppid);
}