*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pgfind (9)              
Title
Content
Arch
Section
 

PGFIND(9)

Contents


NAME    [Toc]    [Back]

     pgfind -- locate a process group by number

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/proc.h>

     struct pgrp *
     pgfind(pid_t pgid);

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     pfind(9)

AUTHORS    [Toc]    [Back]

     This man page was written by Evan Sarmiento <[email protected]>.


FreeBSD 5.2.1			August 8, 2001			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
pfind FreeBSD locate a process by number
zpfind FreeBSD locate a process by number
pgfind OpenBSD find process / process group by number
pfind OpenBSD find process / process group by number
nsg_attach_pid Tru64 Attaches a process to, or detaches a process from a NUMA Scheduling Group (libnuma library)
nsg_detach_pid Tru64 Attaches a process to, or detaches a process from a NUMA Scheduling Group (libnuma library)
psignal FreeBSD post signal to a process or process group
pgsignal FreeBSD post signal to a process or process group
gsignal FreeBSD post signal to a process or process group
getpgid HP-UX get process, process group and parent process ID.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service