test/test.c
@@ -1,11 +1,10 @@ #include "usg_common.h" #include "usg_typedef.h" int main() { char buf[1024]; sprintf(buf, "%s\n", (char*)"" ); printf(buf); int d = strcmp(trim("", 0), ""); printf("%d\n", d); } 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 */ }