blob: a6d4e6d1bc9fc610a54b3a177a7f34bebfe50eb7 [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#include <unistd.h>
2#include "syscall.h"
3
4pid_t getpid(void)
5{
Rich Felkerd878dce2011-04-21 21:52:41 -04006 return __syscall(SYS_getpid);
Rich Felker0b44a032011-02-12 00:22:29 -05007}