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