4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 19:40:07 +08:00

14 lines
175 B
C
Raw Normal View History

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