function::pgrp — Returns the process group ID of the current process.
pgrp:long()
None
pgrp:long
long
This function returns the process group ID of the current process.