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

  man pages->FreeBSD man pages -> zpfind (9)              



NAME    [Toc]    [Back]

     pfind, zpfind -- locate a process by number

SYNOPSIS    [Toc]    [Back]

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

     struct proc *
     pfind(pid_t pid);

     struct proc *
     zpfind(pid_t pid);

DESCRIPTION    [Toc]    [Back]

     pfind() takes a pid as its argument and returns a pointer to the 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 proc

     Both pfind() and zpfind() lock the proc structure that is returned using

RETURN VALUES    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]


AUTHORS    [Toc]    [Back]

     This man page was written by Evan Sarmiento <kaworu@sektor7.ath.cx>.

FreeBSD 5.2.1			 July 11, 2001			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
pgfind FreeBSD locate a process group by number
pfind OpenBSD find process / process group by number
pgfind OpenBSD find process / process group by number
ksi_send_max HP-UX limit on number of queued signals per process
assign_pid_to_pset Tru64 Assigns a process identification number to a processor set
aio_proc_threads HP-UX maximum number of process threads allowed in AIO pool
maxfiles_lim HP-UX hard maximum number of file descriptors per process
semume HP-UX maximum number of System V IPC undo entries per process
max_thread_proc HP-UX defines the maximum number of concurrent threads allowed per process.
shmseg HP-UX maximum number of System V shared memory segments per process
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service