#include <cogent.h>
int IP_MsgLisp(IP_Msg* message, int status, char* format ... );
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.
This function constructs a formatted text message in the data portion of the message by calling UT_LispString. If the message data is too short to hold the formatted text, then the message size is increased by progressive factors of two and the format attempt is repeated until the message can be written or until a call to IP_MsgResize fails. The resulting message is submitted to IP_MsgCascade with a subtype of IP_SUB_LISP and the status as supplied in the status argument to IP_MsgLisp.
Copyright © 1995-2012 by Cogent Real-Time Systems, Inc. All rights reserved.