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

pid_t getppid(void)
{
	return __syscall(SYS_getppid);
}