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

Function main

lib_acl_cpp/samples/json/json5/json.cpp:159–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159int main(int argc, char* argv[])
160{
161 int ch;
162 bool once = false;
163
164 while ((ch = getopt(argc, argv, "ho")) > 0)
165 {
166 switch (ch)
167 {
168 case 'h':
169 usage(argv[0]);
170 return 0;
171 case 'o':
172 once = true;
173 break;
174 default:
175 break;
176 }
177 }
178
179 test(once);
180
181 printf("enter any key to exit\r\n");
182 getchar();
183 return 0;
184}
185

Callers

nothing calls this directly

Calls 3

usageFunction · 0.70
testFunction · 0.70
getoptFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…