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