Home | History | Annotate | Download | only in toolbox

Lines Matching refs:cmdline

51     char cmdline[CMD_DISPLAY_MAX];
91 info->cmdline, info->pid, info->user, type,
120 info->cmdline, info->pid, info->user, "mem",
144 info->cmdline, info->pid, info->user, "FDS",
187 strlcat(info.path, "cmdline", sizeof(info.path));
194 char cmdline[PATH_MAX];
195 int numRead = read(fd, cmdline, sizeof(cmdline) - 1);
199 fprintf(stderr, "Error reading cmdline: %s: %s\n", info.path, strerror(errno));
203 cmdline[numRead] = '\0';
205 // We only want the basename of the cmdline
206 strlcpy(info.cmdline, basename(cmdline), sizeof(info.cmdline));