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

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