DESCRIPTION
The pgfind function takes a pgid as its argument and returns a pointer to the
.Vt pgrp structure whose pg_id is specified in the argument. pgfind locks the
.Vt pgrp structure that is returned.
RETURN VALUES
The pgfind function returns NULL on failure or a pointer to a
.Vt pgrp structure on successful completion.
SEE ALSO
pfind(9)
AUTHORS