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); }