blob: e4e61a562450be5958170f193071bc6030c742e2 (
plain) (
tree)
|
|
/**
* @file
*
* @brief Get Process Id
* @ingroup libcsupport
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h>
/*
* Prototype to avoid warning
*/
pid_t __getpid(void);
/**
* Some C Libraries reference this routine since they think getpid is
* a real system call.
*/
pid_t __getpid(void)
{
return getpid();
}
|