2012年5月24日
摘要: void (*singal(int signo, void (*func)(int)))(int);==>#define SIG_ERR (void (*)()) -1#define SIG_DFL (void (*)()) 0#define SIG_IGN (void (*)()) 1exec函数会将原先设置要捕获的信号处理函数都设置为默认处理不可重入函数:1. 使用静态数据结构, 2. 调用malloc或free, 3. 标准IO函数 阅读全文
posted @ 2012-05-24 23:44 leaving 阅读(180) 评论(0) 推荐(0)