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

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

PFIND(9)

Contents


NAME    [Toc]    [Back]

     pfind, pgfind - find process / process group by number

SYNOPSIS    [Toc]    [Back]

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

     struct proc *
     pfind(pid_t pid);

     struct pgrp *
     pgfind(pid_t pgid);

DESCRIPTION    [Toc]    [Back]

     The pfind() and  pgfind()  functions  retrieve  process  and
progress group
     structures from process and process group IDs.

     Both  functions  return  NULL  if  the requested ID can't be
found.

CODE REFERENCES    [Toc]    [Back]

     Those   functions    are    implemented    in    the    file
sys/kern/kern_proc.c.

OpenBSD      3.6                        September     1,     1999
[ Back ]
 Similar pages
Name OS Title
pgfind FreeBSD locate a 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)
getpid Tru64 Get the process ID, process group ID, or parent process ID
getpgrp Tru64 Get the process ID, process group ID, or parent process ID
getpid IRIX get process, process group, and parent process IDs
getppid Tru64 Get the process ID, process group ID, or parent process ID
getpgid HP-UX get process, process group and parent process ID.
getppid HP-UX get process, process group and parent process ID.
getpgrp2 HP-UX get process, process group and parent process ID.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service