pgfind.9freebsd

Langue: en

Version: 306287 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

pgfind - locate a process group by number

SYNOPSIS

In sys/param.h In sys/proc.h Ft struct pgrp * Fn pgfind pid_t pgid

DESCRIPTION

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

Fn pgfind locks the Vt pgrp structure that is returned.

RETURN VALUES

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

SEE ALSO

pfind(9)

AUTHORS

This manual page was written by An Evan Sarmiento Aq kaworu@sektor7.ath.cx .