#include <cogent.h>
int IP_MsgResize(
IP_Msg* message, int datalen )
;
A pointer to a message.
The new length of the data portion of the IP_MsgBuffer, pointed to as message->msg.
0 on success, -1 on failure 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.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.