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

Function clone_ctor

tools/ifconfig/ifclone.c:243–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241static struct option clone_Copt = { .opt = "C", .opt_usage = "[-C]", .cb = clone_Copt_cb };
242
243static __constructor void
244clone_ctor(void)
245{
246 size_t i;
247
248 for (i = 0; i < nitems(clone_cmds); i++)
249 cmd_register(&clone_cmds[i]);
250 opt_register(&clone_Copt);
251}

Callers

nothing calls this directly

Calls 2

cmd_registerFunction · 0.85
opt_registerFunction · 0.85

Tested by

no test coverage detected