MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / usage

Function usage

extra/mysql_waitpid.c:95–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void usage(void)
96{
97 printf("%s version %s by Jani Tolonen\n\n", progname, VER);
98 printf("usage: %s [options] #pid #time\n\n", progname);
99 printf("Description: Waits for a program, which program id is #pid, to\n");
100 printf("terminate within #time seconds. If the program terminates within\n");
101 printf("this time, or if the #pid no longer exists, value 0 is returned.\n");
102 printf("Otherwise 1 is returned. Both #pid and #time must be positive\n");
103 printf("integer arguments.\n\n");
104 printf("Options:\n");
105 my_print_help(my_long_options);
106 exit(-1);
107}

Callers 2

get_one_optionFunction · 0.70
mainFunction · 0.70

Calls 1

my_print_helpFunction · 0.85

Tested by

no test coverage detected