Home
last modified time | relevance | path

Searched refs:status_buf (Results 1 – 1 of 1) sorted by relevance

/freebsd/lib/libdpv/
H A Dstatus.c38 static char *status_buf = NULL; variable
67 status_buf = realloc(status_buf, status_width + 1); in status_printf()
68 if (status_buf == NULL) { in status_printf()
76 memset(status_buf, ' ', status_width); in status_printf()
78 n = vsnprintf(status_buf, status_width + 1, fmt, args); in status_printf()
84 status_buf[n] = ' '; in status_printf()
85 status_buf[status_width] = '\0'; in status_printf()
91 mvaddstr(status_row, 0, status_buf); in status_printf()
105 if (status_buf != NULL) { in status_free()
106 free(status_buf); in status_free()
[all …]