[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 2

copymsg Utility


Copies a message.


mblk_t *
register mblk_t *bp;


The copymsg utility uses the copyb utility to copy the message blocks contained in the message pointed to by the bp parameter to newly allocated message blocks. It then links the new message blocks to form the new message.


bp Contains a pointer to the message to be copied.

Return Values

On successful compilation, the copymsg utility returns a pointer to the new message. Otherwise, it returns a null value.

Implementation Specifics

This utility is part of STREAMS Kernel Extensions.

Related Information

The copyb utility.

List of Streams Programming References and Understanding STREAMS Messages in AIX Version 4.3 Communications Programming Concepts.

[ Previous | Next | Contents | Glossary | Home | Search ]