Lines Matching defs:length
76 * Purpose : calculate the total length of all messages on the message queue
83 int length = 0;
86 length += mq->msg.length;
88 return length;
108 * Function: int msgqueue_addmsg(MsgQueue_t *msgq, int length, ...)
111 * length - length of message
115 int msgqueue_addmsg(MsgQueue_t *msgq, int length, ...)
124 va_start(ap, length);
125 for (i = 0; i < length; i++)
129 mq->msg.length = length;