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: d7f75064da1a8723a640b399aa72ce230f27a2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* connector for getpid */

#include <reent.h>

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