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

Function usage

lib_fiber/c.old/src/master/fiber_server.c:751–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751static void usage(int argc, char * argv[])
752{
753 int i;
754 const char *service_name;
755
756 if (argc <= 0)
757 acl_msg_fatal("%s(%d): argc(%d) invalid",
758 __FILE__, __LINE__, argc);
759
760 service_name = acl_safe_basename(argv[0]);
761
762 for (i = 0; i < argc; i++)
763 acl_msg_info("argv[%d]: %s", i, argv[i]);
764
765 acl_msg_info("usage: %s -H[help]"
766 " -c [use chroot]"
767 " -n service_name"
768 " -s socket_count"
769 " -t transport"
770 " -u [use setgid initgroups setuid]"
771 " -f conf_file"
772 " -L listen_addrs",
773 service_name);
774}
775
776static int __first_name;
777static va_list __ap_dest;

Callers 1

acl_fiber_server_mainFunction · 0.70

Calls 3

acl_msg_fatalFunction · 0.85
acl_safe_basenameFunction · 0.85
acl_msg_infoFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…