该文被密码保护。 阅读全文
posted @ 2015-12-28 14:58 chencesc 阅读(0) 评论(0) 推荐(0) 编辑
摘要: typedef struct stack_tag{ void *stack[40]; int stack_pointer;栈顶位置} stack_t;①stack_t *stack_new(stack_t *s);创建一个栈,并初始化②void stack_release(stack_t *s);释... 阅读全文
posted @ 2015-12-28 14:40 chencesc 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 内核态介绍 : http://www.cnblogs.com/viviwind/archive/2012/09/22/2698450.html 4GB地址空间 : http://blog.csdn.net/zdy0_2004/article/details/42296109 两者就是特权级上的差别, 阅读全文
posted @ 2015-12-24 15:03 chencesc 阅读(865) 评论(0) 推荐(0) 编辑
摘要: http://blog.longwin.com.tw/2012/02/vim-align-text-plugin-tabular-2012/ 阅读全文
posted @ 2015-12-15 13:36 chencesc 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 一. svn 和 git的区别SVN是集中式版本控制系统,版本库是集中放在中央服务器的,而干活的时候,用的都是自己的电脑,所以首先要从中央服务器哪里得到最新的版本,然后干活, 干完后,需要把自己做完的活推送到中央服务器。集中式版本控制系统是必须联网才能工作,如果在局域网还可以,带宽够大,速度够快,如... 阅读全文
posted @ 2015-12-14 17:03 chencesc 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 相关编译选项: 1.-g 开启gdb 2.-o0,o2 o0表示不优化, 3. -funsigned-char -fdata-sections 会使compiler为每个function和data item分配独立的section,删掉未被使用的section常用命令1.l 列出代码2.c 继续3.... 阅读全文
posted @ 2015-12-14 16:02 chencesc 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 内存池 : http://blog.csdn.net/rabbit729/article/details/3927979内存碎片介绍 : http://blog.csdn.net/bit_x/article/details/5655278内存碎片:“碎片的内存”描述一个系统中所有不可用的空闲内存。是... 阅读全文
posted @ 2015-12-10 16:30 chencesc 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1.正则表达式中的符号:http://www.cnblogs.com/yirlin/archive/2006/04/12/373222.htmlhttp://vbird.dic.ksu.edu.tw/linux_basic/0330regularex.php#lang 一.匹配[bjp]匹配集合中的... 阅读全文
posted @ 2015-12-01 12:52 chencesc 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 一.shift 参数左移 until [ $# -eq 0 ]doecho "第一个参数为: $1 参数个数为: $#"shiftdone 二.wc 该命令用于统计指定文件中的字节数、字数、行数。该命令各选项含义如下: -l 统计行数 -w 统计字数 -c 统计字节数 这些选项可以组合使用。输出列的 阅读全文
posted @ 2015-11-27 16:11 chencesc 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1. 定义 :func() {}或function func() {}2.参数func 1 2 3 4 可在函数中直接调$1来使用,>=10的用${n} 阅读全文
posted @ 2015-11-27 15:30 chencesc 阅读(121) 评论(0) 推荐(0) 编辑