From 7590c43344e530e3085e494293959aca9cd7e17b Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期三, 23 十二月 2020 17:12:38 +0800
Subject: [PATCH] update
---
test/test.c | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/test/test.c b/test/test.c
index d1193a6..40f5af7 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1,7 +1,10 @@
#include "usg_common.h"
-#include "usg_typedef.h"
-
-
-int main() {
+static void sig_quit(int);
+#define SIGCLOSE1 (SIGRTMIN +1)
+int
+main(void)
+{
+ printf("%d, %d , %d\n", SIGRTMIN, SIGRTMAX, SIGCLOSE1);
+ /* SIGQUIT here will terminate with core file */
}
-
\ No newline at end of file
+
\ No newline at end of file
--
Gitblit v1.8.0