摘要: strftime() 函数根据区域设置格式化本地时间/日期,函数的功能将时间格式化,或者说格式化一个时间字符串。size_t strftime(char *strDest,size_t maxsize,const char *format,const struct tm *timeptr);参数说... 阅读全文
posted @ 2015-08-21 14:07 fengbohello 阅读(974) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.sina.com.cn/s/blog_62eb16bb01014dbh.html 一. trap捕捉到信号之后,可以有三种反应方式: (1)执行一段程序来处理这一信号 (2)接受信号的默认操作 (3)忽视这一信号 二. trap对上面三种方式提供了三种基本形式... 阅读全文
posted @ 2015-08-21 11:04 fengbohello 阅读(15814) 评论(0) 推荐(1) 编辑