table of contents
|PGFIND(9)||Kernel Developer's Manual||PGFIND(9)|
NAME¶pgfind — locate a process group by number
#include <sys/proc.h> struct pgrp *
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.
RETURN VALUES¶The pgfind() function returns
NULLon failure or a pointer to a pgrp structure on successful completion.
AUTHORS¶This manual page was written by Evan Sarmiento ⟨email@example.com⟩.
|August 8, 2001||Debian|