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 | 21 ++++++++-------------
1 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/test/test.c b/test/test.c
index 1e27d2f..40f5af7 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1,15 +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() {
- char host[128];
- const char * src = "192.168.20.21";
- memcpy( host, src, sizeof(host));
- printf("%s\n", host);
-}
\ No newline at end of file
+
\ No newline at end of file
--
Gitblit v1.8.0