pfind man page on OpenBSD

Printed from http://www.polarhome.com/service/man/?qf=pfind&af=0&tf=2&of=OpenBSD

PFIND(9)		     OpenBSD Kernel Manual		      PFIND(9)

NAME
     pfind, pgfind - find process / process group by number

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

     struct proc *
     pfind(pid_t pid);

     struct pgrp *
     pgfind(pid_t pgid);

DESCRIPTION
     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
     Those functions are implemented in the file sys/kern/kern_proc.c.

OpenBSD 4.9			 May 31, 2007			   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net