tumbledemerald-legacy/agbcc/libc/syscalls/sysgetpid.c
2022-05-19 17:14:13 +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
}