Chinaunix首页 | 论坛 | 博客
  • 博客访问: 288290
  • 博文数量: 68
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 706
  • 用 户 组: 普通用户
  • 注册时间: 2015-08-13 14:58
文章分类

全部博文(68)

文章存档

2021年(4)

2020年(6)

2018年(5)

2017年(13)

2016年(8)

2015年(32)

我的朋友

发布时间:2015-08-31 09:32:30

1。alarm()执行后,进程将继续执行,在后期(alarm以后)的执行过程中将会在seconds秒后收到信号SIGALRM并执行其处理函数。<p>#include &lt;stdio.h&gt;<br />#include &lt;unistd.h&gt;<br />#include &lt;signal.h&gt;<br />void sigalrm_fn(int sig)<br />{<br />&nbsp;&nbsp;&nbsp; printf("alarm!\n");<br />&n.........【阅读全文】

阅读(986) | 评论(0) | 转发(0)

发布时间:2015-08-29 14:39:04

<span style="color:#333333;font-family:Arial;font-size:14px;line-height:26px;white-space:normal;background-color:#FFFFFF;">在windows程序设计与开发过程中,特别是涉及到开发嵌入式软硬件系统时,往往会涉及到串口编程。</span><br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;c.........【阅读全文】

阅读(1216) | 评论(0) | 转发(0)

发布时间:2015-08-24 11:03:29

<h2 style="margin:0px;padding:0px;font-family:Arial;line-height:26px;white-space:normal;background-color:#FFFFFF;">应用层</h2><p style="margin-top:0px;margin-bottom:0px;font-family:Arial;font-size:14px;line-height:26px;white-space:normal;background-color:#FFFFFF;">&nbsp;</p><p style="margin-.........【阅读全文】

阅读(2116) | 评论(0) | 转发(0)

发布时间:2015-08-19 09:14:04

<b>1</b><b>、安装必要的开发包</b> <p style="text-align:left;line-height:15pt;background:white;" align="left">&nbsp;</p><p style="text-align:left;line-height:15pt;background:white;" align="left"><br />[root@localhost ~]# yum install gcc gcc-c++ autoconf automake</p><p style="text-align:left.........【阅读全文】

阅读(1062) | 评论(0) | 转发(0)

发布时间:2015-08-18 16:35:29

<p style="line-height:25.2000007629395px;margin:10px auto;color:#333333;font-family:Georgia, 'Times New Roman', Times, sans-serif;font-size:14px;white-space:normal;background-color:#FFFFFF;">在Linux Socket服务器短编程时,为了处理大量客户的连接请求,需要使用非阻塞I/O和复用,select、poll和epoll是Lin.........【阅读全文】

阅读(1146) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册