summaryrefslogtreecommitdiff
path: root/src/unistd/getpid.c
blob: d1255f5d0bd1d59258c4e0a0b987e77656746d30 (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 getpid(void)
{
	SYSCALL("getpid", pid_t, -1, 0, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/