HPlogo MPE/iX Developer's Kit Reference Manual Volume I: HP 3000 MPE/iX Computer Systems > Chapter 4  POSIX/iX Library Function Descriptions

getppid

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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)

Feedback to webmaster