The OpenNET Project / Index page

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

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

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

bp_copyin (9)
  • >> bp_copyin (9) ( Solaris man: Ядро )
  •  

    NAME

    bp_copyin - copy from a buf(9S) into a driver buffer
     
    

    SYNOPSIS

    #include <sys/types.h>
    #include <sys/buf.h>
    
    
    
    int bp_copyin(struct buf *bp, void *driverbuf, offset_t offset, 
        size_t size);
    

     

    INTERFACE LEVEL

    Architecture independent level 1 (DDI/DKI).  

    PARAMETERS

    bp

    Pointer to the buffer header structure to copy from.

    driverbuf

    Driver buffer to copy to.

    offset

    Offset into bp where to start copying.

    size

    Size of copy.

     

    DESCRIPTION

    The bp_copyin() function copies size bytes into the memory associated with bp to the destination driver buffer driverbuf. The offset only applies to bp.  

    RETURN VALUES

    Under normal conditions, 0 is returned to indicate a successful copy. Otherwise, -1 is returned if bp references invalid pages.  

    CONTEXT

    The bp_copyin() function can be called from user or kernel context only.  

    SEE ALSO

    bp_copyout(9F), bp_mapin(9F), bp_mapout(9F), ddi_copyout(9F), buf(9S)


     

    Index

    NAME
    SYNOPSIS
    INTERFACE LEVEL
    PARAMETERS
    DESCRIPTION
    RETURN VALUES
    CONTEXT
    SEE ALSO


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




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

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