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

Function main

lib_acl/samples/vstream_popen/main.cpp:163–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162
163int main(int argc, char *argv[])
164{
165 char ch;
166
167 while((ch = getopt(argc, argv, "hpc")) > 0) {
168 switch (ch) {
169 case 'h':
170 usage(argv[0]);
171 return (0);
172 case 'c':
173 child(argc, argv);
174 break;
175 case 'p':
176 parent(argc, argv);
177 break;
178 default:
179 usage(argv[0]);
180 return (0);
181 }
182 }
183
184 printf("pid(%d), exit now\n", getpid());
185 return (0);
186}

Callers

nothing calls this directly

Calls 4

childFunction · 0.85
parentFunction · 0.85
usageFunction · 0.70
getoptFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…