int proc_ppid_pid(int pid);
Name | Description |
---|---|
pid | PID of process |
The PID of the parent process.
On success, returns the PID of the parent process. On error, -1 is returned.
proc_state_pid(), proc_exe_name_pid(), proc_pgrp_pid() proc_sid_pid(), proc_terminal_pid(), proc_ptgid_pid(), proc_flags_pid()
INDEX |