Lines Matching refs:cmdline
1056 char *cmdline;
1071 /* create the cmdline array based on strlen(program) + 80 chars */
1073 cmdline = malloc(cmdline_length + 1); // +1 for trailing null
1086 /* Build cmdline for child process */
1087 strcpy(cmdline, program);
1088 cmd_index = strlen(cmdline);
1090 cmd_index += snprintf(&cmdline[cmd_index],
1096 cmd_index += snprintf(&cmdline[cmd_index],
1100 cmd_index += snprintf(&cmdline[cmd_index],
1107 cmd_index += snprintf(&cmdline[cmd_index],
1111 cmd_index += snprintf(&cmdline[cmd_index],
1117 cmdline,
1130 free(cmdline); /* even though we exit :) */
1142 free(cmdline);