4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 19:09:58 +08:00
2000-02-17 19:39:52 +00:00

14 lines
164 B
C

/* connector for getpid */
#include <reent.h>
int
getpid ()
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _getpid_r (_REENT);
#else
return _getpid ();
#endif
}