所以我有这个代码
char processName[50] = {0}; // init all to 0
printf("Enter the process to kill: ");
scanf("%s", processName); // read and format into the str buffer
printf("Attempting to kill %s\n", processName); // print buffer
system("killall %s", processName);
放这会导致错误“函数'系统'的参数太多”