Home | History | Annotate | Download | only in toolbox

Lines Matching full:cmdline

51     char cmdline[CMD_DISPLAY_MAX];
91 info->cmdline, info->pid, info->user, type,
123 info->cmdline, info->pid, info->user, "mem",
147 info->cmdline, info->pid, info->user, "FDS",
191 strncat(info.path, "cmdline", sizeof(info.path));
197 char cmdline[PATH_MAX];
198 if (read(fd, cmdline, sizeof(cmdline)) < 0) {
199 fprintf(stderr, "Error reading cmdline: %s: %s\n", info.path, strerror(errno));
206 // We only want the basename of the cmdline
207 strncpy(info.cmdline, basename(cmdline), sizeof(info.cmdline));
208 info.cmdline[sizeof(info.cmdline)-1] = '\0';