summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/__getpid.c
blob: 932a4f170aec8c04b3ecd0c4ef235d4397a04f79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 *  Some C Libraries reference this routine since they think getpid is
 *  a real system call.
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include <unistd.h>

pid_t __getpid(void)
{
  return getpid();
}