IP_MsgRaw — like IP_MsgCascade, with IP_SUB_RAW for its subtype.
#include <cogent.h>int IP_MsgRaw(IP_Msg* message, void* data, int len);
#include <cogent.h>
int IP_MsgRaw(
)
A pointer to a message.
Data to copy into message->msg->data.
The amount of data to copy.
0 on success; or -1 if the message could not be resized, and errno is set:
ENOSYS - the message is either not resizable or not dynamic.
ENOMEM - the memory reallocation returned NULL.
The msg portion of message is set to NULL.
This function is equivalent to: IP_MsgCascade (message, , data, , len, IP_SUB_RAW, 0)
Messages, IP_MsgCascade
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.