From 0fd19aa1c8a2bf543099d6b1077ff19078f9074e Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 24 十二月 2020 11:35:12 +0800
Subject: [PATCH] Merge branch 'dev'
---
test/test.c | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/test/test.c b/test/test.c
index dcb5d74..40f5af7 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1,13 +1,10 @@
#include "usg_common.h"
-
-int test() {
- static int count = 0;
- count++;
- return count;
+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 */
}
-int main() {
-
-
- printf("%d\n", test());
- printf("%d\n", test());
-}
\ No newline at end of file
+
\ No newline at end of file
--
Gitblit v1.8.0