Back to index

glibc  2.9
Functions
getppid.c File Reference
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <hurd.h>

Go to the source code of this file.

Functions

pid_t __getppid ()

Function Documentation

Definition at line 27 of file getppid.c.

{
  /* Assumes atomic word fetch and store, so doesn't lock _hurd_pid_lock.  */
  return _hurd_ppid;
}