The OpenNET Project / Index page

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

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

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

kvm_getfiles ()
  • >> kvm_getfiles (3) ( FreeBSD man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    kvm_getfiles
    
     - survey open files
    
     
    

    LIBRARY

    Lb libkvm
    
     
    

    SYNOPSIS

       #include <kvm.h>
       #include <sys/types.h>
    Fd #define _KERNEL    #include <sys/file.h>
    Fd #undef _KERNEL char * kvm_getfiles (kvm_t *kd int op int arg int *cnt);
     

    DESCRIPTION

    The kvm_getfiles ();
    function returns a (sub-)set of the open files in the kernel indicated by Fa kd . The Fa op and Fa arg arguments constitute a predicate which limits the set of files returned. No predicates are currently defined.

    The number of files found is returned in the reference parameter Fa cnt . The files are returned as a contiguous array of file structures, preceded by the address of the first file entry in the kernel. This memory is owned by kvm and is not guaranteed to be persistent across subsequent kvm library calls. Data should be copied out if it needs to be saved.  

    RETURN VALUES

    The kvm_getfiles ();
    function will return NULL on failure.  

    SEE ALSO

    kvm(3), kvm_close3, kvm_geterr3, kvm_nlist3, kvm_open3, kvm_openfiles3, kvm_read3, kvm_write3  

    BUGS

    This routine does not belong in the kvm interface.


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    BUGS


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




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

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