delorie.com/djgpp/doc/libc/libc_411.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

getppid

Syntax

 
#include <unistd.h>

int getppid(void);

Description

Get the parent process ID. Currently this is always 1, indicating that the parent process is no longer running.

Return Value

The parent process ID.

Portability

ANSI/ISO C No
POSIX 1003.2-1992; 1003.1-2001


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004