由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - __init 是什么意思
相关主题
A C++ private member function problema C++ question
一个java class downcast 的问题boost::function 的 syntax 问题
Semaphores in Linux (转载)这两个地方是否需要typename?
INIT_WORK从Linux kernel 2.6.20后改了?overload "++i"里的operator“++”,怎么declare?
vert.x就是一个小型的eaiinline function是否可以递归?
inline functions in C++[C++] 入门级问题 increment and decrement operators
Help C++ Template function link error .One question in C programming
where to define my template functionOne c++ non-type template question
相关话题的讨论汇总
话题: init话题: __话题: 意思
进入Programming版参与讨论
1 (共1页)
e******d
发帖数: 14
1
看Linux Driver的CODE,发现一些FUNCTION的定义有点奇怪,如下:
static int __init ixp400_eth_init(void)
这里的 __init 是什么意思,想告诉COMPILER什么?
g***l
发帖数: 2753
2
http://www.faqs.org/docs/kernel/x277.html

【在 e******d 的大作中提到】
: 看Linux Driver的CODE,发现一些FUNCTION的定义有点奇怪,如下:
: static int __init ixp400_eth_init(void)
: 这里的 __init 是什么意思,想告诉COMPILER什么?

e******d
发帖数: 14
3
Many thanks for the great link!

【在 g***l 的大作中提到】
: http://www.faqs.org/docs/kernel/x277.html
1 (共1页)
进入Programming版参与讨论
相关主题
One c++ non-type template questionvert.x就是一个小型的eai
C++ 普及课程 (视频)1:Compiler Generated Functionsinline functions in C++
C arrayHelp C++ Template function link error .
A C++ compiler related interview questionwhere to define my template function
A C++ private member function problema C++ question
一个java class downcast 的问题boost::function 的 syntax 问题
Semaphores in Linux (转载)这两个地方是否需要typename?
INIT_WORK从Linux kernel 2.6.20后改了?overload "++i"里的operator“++”,怎么declare?
相关话题的讨论汇总
话题: init话题: __话题: 意思