summaryrefslogtreecommitdiff
path: root/src/unistd/getppid.c
blob: b39c36bc10a6c7ee0cdfbc5b3d52268876624cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "../_syscall.h"

pid_t getppid(void)
{
	SYSCALL("getppid", pid_t, -1, 0, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/