strsep(&data,","); //字符串切割函数 kstrtoint(first,10,&duty_cycle);//字符串转整形 10:十进制 sprin … Continue reading kernel 字符串切割,字符串转整型,整型转字符串
strsep(&data,","); //字符串切割函数 kstrtoint(first,10,&duty_cycle);//字符串转整形 10:十进制 sprin … Continue reading kernel 字符串切割,字符串转整型,整型转字符串