pgfind -- locate a process group by number
#include <sys/param.h>
#include <sys/proc.h>
struct pgrp *
pgfind(pid_t pgid);
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.
The pgfind() function returns NULL on failure or a pointer to a pgrp
structure on successful completion.
pfind(9)
This man page was written by Evan Sarmiento <[email protected]>.
FreeBSD 5.2.1 August 8, 2001 FreeBSD 5.2.1 [ Back ] |