Query: pgfind
OS: debian
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGFIND(9) BSD Kernel Developer's Manual PGFIND(9)NAMEpgfind -- locate a process group by numberSYNOPSIS#include <sys/param.h> #include <sys/proc.h> struct pgrp * pgfind(pid_t pgid);DESCRIPTIONThe 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 VALUESThe pgfind() function returns NULL on failure or a pointer to a pgrp structure on successful completion.SEE ALSOpfind(9)AUTHORSThis manual page was written by Evan Sarmiento <kaworu@sektor7.ath.cx>.BSDAugust 8, 2001 BSD