#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include <signal.h> #include <string.h> // static static char* name[] = {"uac","uvc","back","fprint"}; int main() { int i = 20; // 中间这个参数 根据这个类型来选择 sprintf(name,"./f_uac1.ko enble= %d packet=%d cap_channel=%d",i,i,i); printf("%s\n",name); while(1); return 0; }