summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/src/unistd/getpid.c
blob: 31cbe1cbc248b0751ccd2c144ea2caec2ba709d4 (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

pid_t getpid(void)
{
	return syscall0(__NR_getpid);
}