Searched refs:log_buf (Results 1 – 2 of 2) sorted by relevance
48 if (!ctx->log_buf) { in vsay()49 ctx->log_buf = malloc(BUFSIZE); in vsay()50 if (!ctx->log_buf) in vsay()59 strcpy(ctx->log_buf, levels[n]); in vsay()60 k += strlen(ctx->log_buf + k); in vsay()61 k += vsnprintf(ctx->log_buf + k, BUFSIZE - k, fmt + 2, args); in vsay()64 k += vsnprintf(ctx->log_buf + k, 1024 - k, fmt, args); in vsay()68 buf = ctx->log_buf; in vsay()81 if (ctx->log_buf) { in log_teardown()82 free(ctx->log_buf); in log_teardown()[all …]
44 char *log_buf; member