有關signal的函數(像SIG_IGN等等)

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_DFL Default handling: The signal is handled by the default action for that particular signal.
SIG_IGN Ignore Signal: The signal is ignored.

If a function, it should follow the following prototype:
void handler_function ( int parameter );

發佈了7 篇原創文章 · 獲贊 0 · 訪問量 1萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章