summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/__getpid.c
blob: 54a7c980e0b7f34e16b1b97f46517fc271c127a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 *  Some C Libraries reference this routine since they think getpid is
 *  a real system call.
 *
 *  $Id$
 */

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

#include <unistd.h>

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