The OpenNET Project / Index page

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

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

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

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

    NAME

    mcopymsg - Copy message contents into a buffer and free message
     
    

    SYNOPSIS

    #include <sys/stream.h>
    #include <sys/strsun.h>
    
    
    
    void mcopymsg(mblk_t *mp, void *buf);
    

     

    INTERFACE LEVEL

    Solaris DDI specific (Solaris DDI).  

    PARAMETERS

    mp

    Message to be copied.

    buf

    Buffer in which to copy.

     

    DESCRIPTION

    The mcopymsg() function copies the contents of the specified message into the specified buffer. If the message consists of more than a single message block, the contents of each message block are placed consecutively into the buffer. After copying the message contents to buf, mcopymsg() frees the message mp.

    The provided buffer must be large enough to accommodate the message. If the buffer is not large enough, the results are unspecified. The msgsize(9F) function can be used to calculate the total size of the message beforehand.  

    RETURN VALUES

    None.  

    CONTEXT

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

    SEE ALSO

    freemsg(9F), msgsize(9F)

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