Lines Matching refs:cmdbuf
941 char *cmdbuf = NULL; in format_next_process() local
1007 cmdbuf = calloc(screen_width + 1, 1); in format_next_process()
1008 if (cmdbuf == NULL) { in format_next_process()
1016 snprintf(cmdbuf, screen_width, "%s{%s%s}", pp->ki_comm, in format_next_process()
1019 snprintf(cmdbuf, screen_width, "%s", pp->ki_comm); in format_next_process()
1027 snprintf(cmdbuf, screen_width, in format_next_process()
1031 snprintf(cmdbuf, screen_width, in format_next_process()
1045 free(cmdbuf); in format_next_process()
1073 snprintf(cmdbuf, screen_width, in format_next_process()
1078 snprintf(cmdbuf, screen_width, in format_next_process()
1083 snprintf(cmdbuf, screen_width, in format_next_process()
1087 strlcpy(cmdbuf, argbuf, screen_width); in format_next_process()
1159 sbuf_printf(procbuf, "%s", cmdbuf); in format_next_process()
1160 free(cmdbuf); in format_next_process()