Query: copymsg
OS: osf1
Section: 9r
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
copymsg(9r) copymsg(9r)NAMEcopymsg - STREAMS: Copies a message to a new messageSYNOPSIS#include <sys/stream.h> MBLKP copymsg( MBLKP message_block );ARGUMENTSSpecifies a pointer to the message block from which copymsg copies the data. (Actually, copymsg calls the copyb interface to copy the data.) The typedef MBLKP is an alternate name for typedef struct msgb *.DESCRIPTIONThe copymsg interface: Forms a new message by allocating new message blocks Copies (by calling the copyb interface) the contents of the message referred to by the message_block argument Returns a pointer to the new message block.RETURN VALUESUpon successful completion, the copymsg interface returns a pointer to the newly allocated message block that contains the copied data. This newly allocated message block is of type struct msgb *. The msgb data structure is defined in the /usr/sys/include/sys/stream.h file. Otherwise, copymsg returns a NULL pointer.SEE ALSOKernel Interfaces: allocb(9r), copyb(9r) Programmer's Guide: STREAMS copymsg(9r)
Related Man Pages |
---|
copymsg(9f) - opensolaris |
copymsg(9f) - sunos |
copymsg(9f) - xfree86 |
copymsg(9f) - hpux |
copymsg(9f) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Throw my Toys out of the Pram! |
PHP Write Man Pages to MySQL DB |
Denial Of Service Attack Update |