SYNOPSIS
In sys/param.h In sys/proc.h Ft struct pgrp * Fn pgfind pid_t pgidDESCRIPTION
The Fn pgfind function takes a Fa pgid as its argument and returns a pointer to the Vt pgrp structure whose pg_id is specified in the argument.Fn pgfind locks the Vt pgrp structure that is returned.