1.问题:如何通过结构中的某个变量获取结构本身的指针???关于container_of见kernel.h中:/*** container_of - cast a member of a structure out to the containing structure* @ptr: the poin... Read More
posted @ 2015-04-19 21:29 Android小能手 Views(760) Comments(0) Diggs(0) Edit
开始用MarsEdit来写博文,客户端的,毕竟是要方便的多啊。遇到的第一个问题就是:MarsEdit没有提供快速插入源代码的工具,而对于我这枚码农而言,这个就有点太杯具了。简单研究了一下,发现MarsEdit是可以支持Macro的,那就简单了。首先,去博客园网站上,看源代码是如何插入的点开之后,选择... Read More
posted @ 2015-04-19 21:22 Android小能手 Views(160) Comments(0) Diggs(0) Edit
asfasdfasdf Read More
posted @ 2015-04-19 14:55 Android小能手 Views(29) Comments(0) Diggs(0) Edit
hello Read More
posted @ 2015-04-19 14:39 Android小能手 Views(46) Comments(0) Diggs(0) Edit