Rechercher une page de manuel
zpfind.9freebsd
Langue: en
Version: 307157 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
BSD mandoc
NAME
pfind , zpfind - locate a process by numberSYNOPSIS
In sys/param.h In sys/proc.h Ft struct proc * Fn pfind pid_t pid Ft struct proc * Fn zpfind pid_t pidDESCRIPTION
Fn pfind takes a Fa pid as its argument and returns a pointer to the Vt proc structure whose PID is specified in the argument only if the Fa pid is on the allproc list.Fn zpfind takes a Fa pid as its argument. If Fn 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, Fn zpfind returns a pointer to that Vt proc structure.
Both Fn pfind and Fn zpfind lock the Vt proc structure that is returned using Fn PROC_LOCK p .
RETURN VALUES
Fn pfind and Fn 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 .Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre