IP_MsgRaw

IP_MsgRaw -- like IP_MsgCascade, with IP_SUB_RAW for its subtype.

Syntax

int IP_MsgRaw(IP_Msg* message, void* data, int len);

Arguments

message

A pointer to a message.

data

Data to copy into message->msg->data.

len

The amount of data to copy.

Returns

0 on success; or -1 if the message could not be resized, and errno is set:

The msg portion of message is set to NULL.

Description

This function is equivalent to: IP_MsgCascade (message, data, len, IP_SUB_RAW, 0)

See Also

Messages, IP_MsgCascade

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.