MCPcopy Create free account
hub / github.com/acl-dev/acl / usage

Function usage

lib_protocol/samples/ping/main.c:191–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191static void usage(const char* progname)
192{
193 printf("usage: %s [-h help] -s [sync] -d delay -t [use thread mode] [-n npkt] [\"dest1 dest2 dest3...\"]\r\n", progname);
194 printf("example: %s -n 10 www.sina.com.cn www.baidu.com www.qq.com\r\n", progname);
195 printf("example: %s -s -n 10 www.sina.com.cn\r\n", progname);
196#ifdef WIN32
197 printf("please enter any key to exit\r\n");
198 getchar();
199#endif
200}
201
202/* ���յ� SIGINT �ź�(���� PING �������û����� ctrl + c)ʱ���źŴ������� */
203static void OnSigInt(int signo acl_unused)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…