Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sysgetpid.c « syscalls « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 794f5194b43c002e7eb878f23835d2ba47e6186c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* connector for getpid */

#include <reent.h>

int
_DEFUN_VOID (getpid)
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _getpid_r (_REENT);
#else
  return _getpid ();
#endif
}