linux内核中有这样一条语句#define __KERNE
我在学习c语言的时候,老师讲#defineCHARGE 5 这条语句意思是在程序中遇到CHARGE时,把CHARGE换成 5 可是 #define __KERNEL_SYSCALLS__ 它子么理解,
刚开始学习linux其中有好多不懂,还请大虾指教,
-- 用作条件编译的呗 u can think it as
define __KERNEL_SYSCALLS__ as "yes"
then when u meet
#ifdef __KERNEL_SYSCALLS__
x
#else
y
#endif
u know x will be included and y will be omitted.
:-D
页:
[1]