摘要:
在GNU C中包含在括号中的复合语句可以作为一个表达式。这就允许你在表达式中使用循环,switch和局部变量。以前复合语句是包含在大括号中语句序列。在这种构造中,圆括号包围在大括号中。如下面的例子:({ int y = foo(); int z; if ( y > 0 ) z = y; else... 阅读全文
摘要:
Linux dentry cache学习每个dentry对象都属于下列几种状态之一:(1)未使用(unused)状态:该dentry对象的引用计数d_count的值为0,但其d_inode指针仍然指向相关的的索引节点。该目录项仍然包含有效的信息,只是当前没有人引用他。这种dentry对象在回收内存时... 阅读全文
摘要:
*29.2* The preview windowWhen you edit code that contains a function call, you need to use the correctarguments. To know what values to pass you can look at how the function isdefined. The tags mechanism works very well for this. Preferably thedefinition is displayed in another window. For this the 阅读全文