linux man page for pgfind

Query: pgfind

OS: linux

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PGFIND(9)						   BSD Kernel Developer's Manual						 PGFIND(9)

NAME
pgfind -- locate a process group by number SYNOPSIS
#include <sys/param.h> #include <sys/proc.h> struct pgrp * pgfind(pid_t pgid); 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 NULL on failure or a pointer to a pgrp structure on successful completion. SEE ALSO
pfind(9) AUTHORS
This manual page was written by Evan Sarmiento <kaworu@sektor7.ath.cx>. BSD
August 8, 2001 BSD
Related Man Pages
killpg(2) - mojave
killpg(2) - freebsd
pgsignal(9) - freebsd
pgsignal(9) - linux
pgsignal(9) - osx
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Rules for Homework &amp; Coursework Questions Forum
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Answers to Recently Asked Questions about UNIX.COM