MCPcopy Create free account
hub / github.com/GJDuck/e9patch / init

Function init

examples/delay.c:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void init(int argc, char **argv, char **envp)
25{
26 environ = envp;
27 const char *val = getenv("DELAY");
28 if (val != NULL)
29 delay = (unsigned)atoi(val);
30}
31

Callers

nothing calls this directly

Calls 2

getenvFunction · 0.85
atoiFunction · 0.85

Tested by

no test coverage detected