有关signal的函数(像SIG_IGN等等)

来源:互联网 发布:尼古丁贴片 知乎 编辑:程序博客网 时间:2024/05/22 08:23

http://www.cplusplus.com/reference/csignal/signal/


func
A pointer to a function. This may either be a function defined by the programmer or one of the following predefined functions:

SIG_DFLDefault handling: The signal is handled by the default action for that particular signal.SIG_IGNIgnore Signal: The signal is ignored.
If a function, it should follow the following prototype:
void handler_function ( int parameter );

原创粉丝点击