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




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

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