summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/unistd/getpid.c
blob: a6d4e6d1bc9fc610a54b3a177a7f34bebfe50eb7 (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

pid_t getpid(void)
{
	return __syscall(SYS_getpid);
}