比如当前在kernel源码目录下
find ./ -name “*.h” | xargs grep “strict_strtoul”
./drivers/md/md.h:extern int strict_strtoul_scaled(const char *cp, unsigned long *res, int scale);
./include/linux/kernel.h:#define strict_strtoul kstrtoul
./include/linux/kernel.h:#define strict_strtoull kstrtoull
如何查找linux内核头文件
最新推荐文章于 2025-08-05 13:01:51 发布