Lines Matching refs:cmdbuf
878 char *cmdbuf = NULL; in format_next_process() local
944 cmdbuf = calloc(screen_width + 1, 1); in format_next_process()
945 if (cmdbuf == NULL) { in format_next_process()
953 snprintf(cmdbuf, screen_width, "%s{%s%s}", pp->ki_comm, in format_next_process()
956 snprintf(cmdbuf, screen_width, "%s", pp->ki_comm); in format_next_process()
964 snprintf(cmdbuf, screen_width, in format_next_process()
968 snprintf(cmdbuf, screen_width, in format_next_process()
982 free(cmdbuf); in format_next_process()
1010 snprintf(cmdbuf, screen_width, in format_next_process()
1015 snprintf(cmdbuf, screen_width, in format_next_process()
1020 snprintf(cmdbuf, screen_width, in format_next_process()
1024 strlcpy(cmdbuf, argbuf, screen_width); in format_next_process()
1096 sbuf_printf(procbuf, "%s", printable(cmdbuf)); in format_next_process()
1097 free(cmdbuf); in format_next_process()