Lines Matching refs:msgbuf
134 char *msgbuf = NULL;140 msgbuf = (char *)malloc(*msglen + 1);141 if (msgbuf == NULL)143 (void) strncpy(msgbuf, msg, *msglen);144 msgbuf[*msglen] = '\0';145 msg = msgbuf;159 if (msgbuf != NULL)160 free(msgbuf);198 if (msgbuf != NULL)199 free(msgbuf);