GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PFIND (9)

NAME

pfind, zpfind - locate a process by number

CONTENTS

Synopsis
Description
Return Values
See Also
Authors

SYNOPSIS


.In sys/param.h
.In sys/proc.h struct proc * pfind pid_t pid struct proc * zpfind pid_t pid

DESCRIPTION

pfind takes a pid as its argument and returns a pointer to the
.Vt proc structure whose PID is specified in the argument only if the pid is on the allproc list.

zpfind takes a pid as its argument. If zpfind finds a process whose PID is equal to that of argument and is a zombie process, meaning that it must reside on the zombproc list, zpfind returns a pointer to that
.Vt proc structure.

Both pfind and zpfind lock the
.Vt proc structure that is returned using PROC_LOCK p.

RETURN VALUES

pfind and zpfind return a pointer to a
.Vt proc structure on success and a NULL on failure.

SEE ALSO

pgfind(9)

AUTHORS

This manual page was written by
.An Evan Sarmiento Aq kaworu@sektor7.ath.cx .
Search for    or go to Top of page |  Section 9 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.