VMS Help  —  CRTL  getppid
    Returns the parent process ID of the calling process.

    Format

      #include  <unistd.h>

      pid_t getppid  (void);

1  –  Return Values

    x                  The parent process ID.
    0                  Indicates that the calling process does not
                       have a parent process.
Close Help