The OpenNET Project / Index page

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

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

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

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

    NAME

    miocpullup - Prepare the payload of an M_IOCTL message for access
     
    

    SYNOPSIS

    #include <sys/stream.h>
    #include <sys/strsun.h>
    
    
    
    int miocpullup(mblk_t *mp, size_t size);
    

     

    INTERFACE LEVEL

    Solaris DDI specific (Solaris DDI).  

    PARAMETERS

    mp

    M_IOCTL message.

    size

    Number of bytes to prepare.

     

    DESCRIPTION

    The miocpullup() function prepares the payload of the specified M_IOCTL message for access by ensuring that it consists of at least size bytes of data.

    If the M_IOCTL message is transparent, or its total payload is less than size bytes, an error is returned. Otherwise, the payload is concatenated as necessary to provide contiguous access to at least size bytes of data. As a special case, if size is zero, miocpullup() returns successfully, even if no payload exists.  

    RETURN VALUES

    Zero is returned on success. Otherwise an errno value is returned indicating the problem.  

    CONTEXT

    This function can be called from user, kernel or interrupt context.  

    SEE ALSO

    STREAMS Programming Guide


     

    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
    Добавить, Поддержать, Вебмастеру