newlib-cygwin/newlib/libc/syscalls/sysgetpid.c

11 lines
119 B
C

/* connector for getpid */
#include <reent.h>
#include <unistd.h>
int
getpid (void)
{
return _getpid_r (_REENT);
}