MCPcopy Create free account
hub / github.com/F-Stack/f-stack / group_ctor

Function group_ctor

tools/ifconfig/ifgroup.c:203–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201static struct option group_gopt = { "g:", "[-g groupname]", printgroup };
202
203static __constructor void
204group_ctor(void)
205{
206 int i;
207
208 for (i = 0; i < nitems(group_cmds); i++)
209 cmd_register(&group_cmds[i]);
210 af_register(&af_group);
211 opt_register(&group_gopt);
212}

Callers

nothing calls this directly

Calls 3

cmd_registerFunction · 0.85
af_registerFunction · 0.85
opt_registerFunction · 0.85

Tested by

no test coverage detected