- Method getpgrp
int getpgrp(int|void pid)
Get the process group id for the process pid. With no argguments or with 'pid' equal to zero, returns the process group ID of this process.
Not all platforms support getting the process group for other processes.
Not supported on all platforms.
- See also