static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) { /* * We want to shortcut function call, but * __builtin_types_compatible_p(long, long long) = 0. */ if (sizeof(long) == sizeof(long long) && __alignof__(long) == __alignof__(long ...
make -k ,lsof及系统接口strtol 1.make加参数-k,作用是编译过程中出错后不会退出而是继续 keepgoing 2.lsof(list open files)是一个列出当前系统打开文件的工具。(在linux环境下,任何事物都以文件的形式存在) 常用参数 -a 列出打开文件存在的进程 -c<进程名> 列出指定进程所打开的文件 -d<文件号> 列出占用...
函数名称:kstrtol - convert a string to a long*@s: The start of the string. The string must be null-terminated, and may also* include a single newline before its terminating null. The first character* may also be a plus sign or a minus sign. 函数原型:static inline int __must_check...
Name:kstrtol - convert a string to a long*@s: The start of the string. The string must be null-terminated, and may also* include a single newline before its terminating null. The first character* may also be a plus sign or a minus sign. Proto:static inline int __must_check kstrto...