HP 3000 Manuals

getppid [ MPE/iX Developer's Kit Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume I

getppid 

Returns the parent's process ID.

Syntax 

     #include <sys/types.h>
     #include <unistd.h>
     pid_t getppid (void);

Parameters 

None.

Return Values 

The parent process ID of the calling process.

Description 

The getppid() function returns the parent process ID of the calling
process.

Implementation Considerations 

None.

Errors 

None.

See Also 

getpid(), execl(), execv(), fork(), kill(), POSIX.1 (Section 4.1.1)



MPE/iX 5.0 Documentation