MCPcopy Index your code
hub / github.com/F-Stack/f-stack / main

Function main

tools/libutil/tests/pidfile_test.c:311–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309};
310
311int
312main(void)
313{
314 const char *result;
315 int i, nt;
316
317 nt = sizeof(t) / sizeof(*t);
318 printf("1..%d\n", nt);
319 for (i = 0; i < nt; ++i) {
320 if ((result = t[i].func()) != NULL)
321 printf("not ok %d - %s # %s\n", i + 1,
322 t[i].name, result);
323 else
324 printf("ok %d - %s\n", i + 1,
325 t[i].name);
326 }
327 exit(0);
328}

Callers

nothing calls this directly

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected