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

Function main

app/redis-6.2.6/src/setproctitle.c:323–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321
322#ifdef SETPROCTITLE_TEST_MAIN
323int main(int argc, char *argv[]) {
324 spt_init(argc, argv);
325
326 printf("SPT.arg0: [%p] '%s'\n", SPT.arg0, SPT.arg0);
327 printf("SPT.base: [%p] '%s'\n", SPT.base, SPT.base);
328 printf("SPT.end: [%p] (%d bytes after base)'\n", SPT.end, (int) (SPT.end - SPT.base));
329 return 0;
330}
331#endif

Callers

nothing calls this directly

Calls 2

spt_initFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected