summaryrefslogblamecommitdiff
path: root/src/unistd/getpid.c
blob: 31cbe1cbc248b0751ccd2c144ea2caec2ba709d4 (plain) (tree)
1
2
3
4
5
6
7






                                     
#include <unistd.h>
#include "syscall.h"

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