
linux
文章平均质量分 73
c_o_o_l_u_l_u
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
调用信号处理程序被捕捉的信号自动地加到进程的当前信号屏蔽字中signal() sigpending()
//当调用一个信号处理程序时,被捕捉的信号自动地加到进程的当前信号屏蔽字中,阻止后来产生的这种信号中断改信号处理程序。//当从信号处理程序返回时,自动恢复原来的屏蔽字#include原创 2012-09-05 16:15:54 · 2952 阅读 · 0 评论 -
gethostbyname, gethostbyaddr(原来百度叫shifen "十分?")
还以为程序错了,ping百度也是 www.a.shifen.com #include #include #include #include #include int main(int argc, char* argv[]){原创 2012-09-28 17:23:48 · 3212 阅读 · 0 评论 -
一个简单用c和mysql的示范程序
#include #include #include #include #include #define error(x) printf("ERROR %d: %s\n", mysql_errno(x), mysql_error(x))#define SQL_LEN 256/* * create table BEAL( * NAME CHAR(8) NOT NULL, *原创 2012-11-07 22:51:10 · 2940 阅读 · 0 评论