posix_getpgrp — Return the current process group identifier
Return the process group identifier of the current process.
This function has no parameters.
Returns the identifier, as an int.