摘要:
弱符号使用场景 我们不确定外部模块是否提供一个函数func,但是我们不得不用这个函数,即自己模块的代码必须用到func函数: extern int func(void); ................... int a = func(); if( a > .....) { .......... 阅读全文
摘要:
在内核编译选项中,将以下两个option选定为y,然后重新编译。Bus support -->[] PCI Express Port Bus support[] Root Port Advanced Error Reporting support 主要原因是鼠标和键盘的属于PCI总线,需要将该接口编 阅读全文
摘要:
#define EPERM 1 /* Operation not permitted /#define ENOENT 2 / No such file or directory /#define ESRCH 3 / No such process /#define EINTR 4 / Interru 阅读全文