Chinaunix首页 | 论坛 | 博客
  • 博客访问: 67006
  • 博文数量: 18
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 160
  • 用 户 组: 普通用户
  • 注册时间: 2015-05-20 19:05
文章分类
文章存档

2016年(3)

2015年(15)

我的朋友

发布时间:2016-09-01 16:57:10

在宏中使用##会导致后面的宏参数不能展开,比如以下情况点击(此处)折叠或打开#define TESNUM 10#define FUNCNAME(funcname,index) funcname ##_ ##indexint API_CLIENT_FUNCNAME2(testname,TESNUM)(int x){.........【阅读全文】

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

发布时间:2016-04-12 10:14:14

 函数原型 int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);引用解释:根据POSIX标准,The nfds argument specifies the range of descriptors to be tested. The first nfds descriptors shall be checked in each set; that is, the descripto.........【阅读全文】

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

发布时间:2016-01-05 14:30:27

http://note.youdao.com/share/?id=07ff25752e2de07828cd9911427b8dd1&type=note......【阅读全文】

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

发布时间:2015-10-19 10:26:31

server端进程启动中常见的signal(SIGPIPE, SIG_IGN)信号屏蔽<br />原因是在socket编程中,若client端已经关闭,继续对其进行write操作,会产生broken_pipe信号,导致进程退出。<br /><br />signal(SIGHUP, SIG_IGN)<br /><span style="color:#4B4B4B;font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;font-.........【阅读全文】

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

发布时间:2015-10-15 10:12:02

<p style="color:#333333;font-family:tahoma, 宋体;font-size:14px;line-height:22.4px;text-align:justify;white-space:normal;background-color:#FAFAFC;">两个符号都只能用于预处理宏扩展。不能在普通的源码中使用它们,只能在宏定义中使用。</p><p style="color:#333333;font-family:tahoma, 宋体;font-size:14px;.........【阅读全文】

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

主流水平2015-05-25 09:29

[ubuntu]
text(bold)=000000
magenta(bold)=ff55ff
text=ffffff
white(bold)=f5deb3
green=98fb98
red(bold)=bb0000
green(bold)=98fb98
black(bold)=4d4d4d
red=ff5555
blue=cd853f
black=4d4d4d
blue(bold)=cd853f
yellow(bold)=f0e68c
cyan(bold)=ffa0a0
yellow=f0e68c
magenta=ffdeaf
background=1b393a
white=ffffff
cyan=ffd700
[Names]
count=1
name0=ubuntu

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

登录 注册