信号函数集
摘要:
#include<sys/types.h>#include<unistd.h>#include<signal.h>#include<stdio.h>#include<stdlib.h>void my_func(int signum){ printf("If you want to quit, please try SIGQUIT\n");}int main(){ sigset_t set, pendset; struct sigaction action1,action2; if(sigemptyset(& 阅读全文
posted @ 2011-11-23 12:43 小风儿_xf 阅读(264) 评论(0) 推荐(0) 编辑