logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pgfind — locate a process group by number

Authors

       This manual page was written by Evan Sarmiento <kaworu@sektor7.ath.cx>.

Debian                                           August 8, 2001                                        PGFIND(9)

Description

       The  pgfind()  function  takes  a  pgid as its argument and returns a pointer to the pgrp structure whose
       pg_id is specified in the argument.

       pgfind() locks the pgrp structure that is returned.

Name

       pgfind — locate a process group by number

Return Values

       The pgfind() function returns NULL on failure or a pointer to a pgrp structure on successful completion.

See Also

pfind(9)

Synopsis

#include<sys/param.h>#include<sys/proc.h>structpgrp*pgfind(pid_tpgid);

See Also