The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    
    
    kvm_read
    
     
    kvm_write
    
     - read or write kernel virtual memory
    
     
    

    LIBRARY

    Lb libkvm
    
     
    

    SYNOPSIS

       #include <kvm.h>
    ssize_t kvm_read (kvm_t *kd unsigned long addr void *buf size_t nbytes);
    ssize_t kvm_write (kvm_t *kd unsigned long addr const void *buf size_t nbytes);
     

    DESCRIPTION

    The kvm_read ();
    and kvm_write ();
    functions are used to read and write kernel virtual memory (or a crash dump file). See kvm_open (3);
    or kvm_openfiles (3);
    for information regarding opening kernel virtual memory and crash dumps.

    The kvm_read ();
    function transfers Fa nbytes bytes of data from the kernel space address Fa addr to Fa buf . Conversely, kvm_write ();
    transfers data from Fa buf to Fa addr . Unlike their SunOS counterparts, these functions cannot be used to read or write process address spaces.  

    RETURN VALUES

    Upon success, the number of bytes actually transferred is returned. Otherwise, -1 is returned.  

    SEE ALSO

    kvm(3), kvm_close3, kvm_getargv3, kvm_getenvv3, kvm_geterr3, kvm_getprocs3, kvm_nlist3, kvm_open3, kvm_openfiles3


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO


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




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

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