Next: PSX_GETUID - Gets the real user ID
Up: Routine Descriptions
Previous: PSX_GETPID - Gets the process ID
PSX_GETPPID
- Gets the process ID of the parent process
- Description:
- The routine obtains the process identification number of the parent
process and returns the value in PID.
- Invocation:
- CALL PSX_GETPPID( PID, STATUS )
- Arguments:
-
-
PID = INTEGER (Returned)
-
The value of the process ID of the parent process.
-
STATUS = INTEGER (Given)
-
The global status.
- Notes:
- If a program that calls this routine is run several times, then
unlike GETPID, it will always return the same process ID as all
the processes will have the same parent.
-
References
- POSIX standard (1988), section 4.1.1
-
Copyright
- Copyright (C) 1991 Science & Engineering Research Council
Next: PSX_GETUID - Gets the real user ID
Up: Routine Descriptions
Previous: PSX_GETPID - Gets the process ID
PSX POSIX interface routines
Starlink User Note 121
P M Allan
A J Chipperfield
10 April 2003
E-mail:ussc@star.rl.ac.uk
Copyright © 2000 Council for the Central Laboratory of the Research Councils