getpid.c - vx32 - Local 9vx git repository for patches.
(HTM) git clone git://r-36.net/vx32
(DIR) Log
(DIR) Files
(DIR) Refs
---
getpid.c (130B)
---
1 #include <unistd.h>
2 #include <errno.h>
3 #include "syscall.h"
4
5 pid_t getpid(void)
6 {
7 return syscall(VXSYSGETPID, 0, 0, 0, 0, 0);
8 }
9