Интерактивная система просмотра системных руководств (man-ов)
pgfind (9)
>> pgfind (9) ( FreeBSD man: Ядро )
BSD mandoc
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
Fa pgid
as its argument and returns a pointer to the
Vt pgrp
structure whose
pg_id
is specified in the argument.
pgfind ();
locks the
Vt pgrp
structure that is returned.
RETURN VALUES
The
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 .
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- SEE ALSO
-
- AUTHORS
-