proc_ppid_pid()

The PID of the parent process

Syntax:

int proc_ppid_pid(int pid);

Arguments:

Name Description
pid PID of process

Description:

The PID of the parent process.

Return Values:

On success, returns the PID of the parent process. On error, -1 is returned.

See Also:

proc_state_pid(), proc_exe_name_pid(), proc_pgrp_pid() proc_sid_pid(), proc_terminal_pid(), proc_ptgid_pid(), proc_flags_pid()



INDEX