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

14 lines
164 B
C
Raw Normal View History

2000-02-18 03:39:52 +08:00
/* connector for getpid */
#include <reent.h>
int
getpid ()
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _getpid_r (_REENT);
#else
return _getpid ();
#endif
}