瀏覽代碼

more sensible values for SIG_DFL and SIG_IGN

ceriel 36 年之前
父節點
當前提交
ba7cc5f6fb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/_tail_mon/signal.h

+ 2 - 2
include/_tail_mon/signal.h

@@ -22,5 +22,5 @@
 #define	SIGTERM	15	/* software termination signal from kill */
 
 int	(*signal())();
-#define	SIG_DFL	(int (*)())0
-#define	SIG_IGN	(int (*)())1
+#define	SIG_DFL	(int (*)())-2
+#define	SIG_IGN	(int (*)())-3