The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

pfind (9)
  • >> pfind (9) ( FreeBSD man: Ядро )

  • BSD mandoc
     

    NAME

    pfind , zpfind
    
     - locate a process by number
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/proc.h>
    struct proc * pfind (pid_t pid);
    struct proc * zpfind (pid_t pid);
     

    DESCRIPTION

    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.

    zpfind ();
    takes a Fa 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 [email protected] .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру