Chinaunix首页 | 论坛 | 博客
  • 博客访问: 378955
  • 博文数量: 48
  • 博客积分: 743
  • 博客等级: 上士
  • 技术积分: 956
  • 用 户 组: 普通用户
  • 注册时间: 2011-11-22 13:51
文章分类

全部博文(48)

文章存档

2015年(3)

2014年(17)

2012年(23)

2011年(5)

发布时间:2014-04-12 09:53:12

......【阅读全文】

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

发布时间:2014-04-11 18:07:19

函数原型:        #include        int daemon(int nochdir, int noclose);参数: 输入:nochdir 如果值为0,则将切换工作目录为根目录,否则为程序的工作目录           noclose.........【阅读全文】

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

发布时间:2014-04-11 15:56:32

1.     BSD syslogd的组成结构:配置文件:/etc/syslog.conf从上图可以看到相关的日志文件主要来源于三种途径:(1)    内核:许多内核例程调用log函数产生log消息,另外klogd守护进程能够监听并得到内核消息,并发送给syslogd进程。(2)    许多用户进程直.........【阅读全文】

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

发布时间:2014-04-11 15:56:23

......【阅读全文】

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

发布时间:2014-04-08 17:31:23

这篇文章汇总网络编程的各种函数接口,并以超链接的形式链接到具体函数使用说明文章上struct hostent *gethostbyname(const char *hostname);struct hostent *gethostbyaddr(const char *addr, socklen_t len, int family);struct servent *getservbyname(const char *servname, const *protoname);struct servent *.........【阅读全文】

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

登录 注册