摘要: http://blog.csdn.net/linuw/article/details/6048307 __attribute__ ((constructor))指定的函数在共享库loading的时候调用,__attribute__ ((destructor))指定的函数在共享库unloading的时 阅读全文
posted @ 2017-04-10 20:28 soul.stone 阅读(1070) 评论(0) 推荐(0) 编辑
摘要: 初始化:1、open文件2、write 1M空数据到文件3、mmap文件,ptr作为写指针4、关闭文件 阅读全文
posted @ 2017-04-10 14:01 soul.stone 阅读(616) 评论(0) 推荐(0) 编辑