:man| Alphabetical   Categories   About us 
 
PGFIND (9) | Kernel routines | Unix Manual Pages | :man

NAME

pgfind - "locate a process group by number"

CONTENTS

Synopsis
Description
Return Values
See Also
Authors

SYNOPSIS


.In sys/param.h
.In 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
.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


Share this page

     Follow us

Facebook Twitter Google+ LinkedIn


 
Created by Blin Media, 2008-2013