Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6381085
  • 博文数量: 579
  • 博客积分: 1548
  • 博客等级: 上尉
  • 技术积分: 16634
  • 用 户 组: 普通用户
  • 注册时间: 2012-12-12 15:29
个人简介

http://www.csdn.net/ http://www.arm.com/zh/ https://www.kernel.org/ http://www.linuxpk.com/ http://www.51develop.net/ http://linux.chinaitlab.com/ http://www.embeddedlinux.org.cn http://bbs.pediy.com/

文章分类

全部博文(579)

文章存档

2018年(18)

2015年(91)

2014年(159)

2013年(231)

2012年(80)

发布时间:2013-02-03 16:03:45

setjmp和longjmp是C语言独有的,只有将它们结合起来使用,才能达到程序控制流有效转移的目的,按照程序员的预先设计的意图,去实现对程序中可能出现的异常进行集中处理。先来看一下这两个函数的定义吧:setjmp和longjmp的函数原型在setjmp.h中函数原型:int setjmp(jmp_buf envbuf);setjmp函数用缓冲.........【阅读全文】

阅读(2561) | 评论(0) | 转发(1)

发布时间:2013-02-03 08:59:54

shell中可能经常能看到:>/dev/null  2>&1 命令的结果可以通过 %> 的形式来定义输出,其中 %> 代表文件描述符 我们将这个命令组合:“>/dev/null 2>&1”  拆为四部分来分析下:1:> 代表重定向到哪里,例如:echo "123" > /home/123.txt2:首先 0> 表示stdin标准输入; 1> 表示stdout标准输出; 2.........【阅读全文】

阅读(5648) | 评论(0) | 转发(5)

发布时间:2013-02-01 15:59:53

parameter.sh#!/bin/bashecho "show all the parameter : "echo "the scirpt name is : $0"echo "the first parameter is: $1"echo "the second parameter is: $2"echo "the third parameter is: $3"echo "the four parameter is: $4"echo "the five parameter is: $5"exitlsk.........【阅读全文】

阅读(1946) | 评论(0) | 转发(1)

发布时间:2013-02-01 14:43:21

在脚本中调用另一脚本(这实际上创建了一个子进程)father.sh#!/bin/bashecho "this is the father"FILM="A Few Good Men"echo "I like the film : $FILM"#call the child script#export FILM./child.shecho "back to father"echo "and the film is : $FILM"exitchild.sh#!/bi.........【阅读全文】

阅读(17102) | 评论(0) | 转发(3)

发布时间:2013-02-01 10:55:14

README.txtlynx 的安装流程if(system == startos) then {1,解压 lynx的压缩包到任意目录(如 lynx2-8-7)。    压缩包获取网址:lynx.isc.org/current/2,进入到已经解压好的lynx的目录中,真正开始安装@1@ 执行命令下面的命令用以安装好所需要的库文件#./configure注意:在配.........【阅读全文】

阅读(5735) | 评论(0) | 转发(2)
给主人留下些什么吧!~~

Dafanzi2016-12-05 18:21

我找到代码了 不用了 谢谢

回复  |  举报

Dafanzi2016-12-05 17:20

大佬,在你这篇讲解内存池的博文(http://blog.chinaunix.net/uid-28458801-id-4254501.html)中,list.h源文件没有提供啊。你能提供这个博文的完整代码我学习学习吗?能的话发给我邮箱可以吗?brottfan@163.com谢谢啦

回复  |  举报
留言热议
请登录后留言。

登录 注册