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

Function init

examples/count.c:41–48  ·  view source on GitHub ↗

* Init. */

Source from the content-addressed store, hash-verified

39 * Init.
40 */
41void init(int argc, char **argv, char **envp)
42{
43 environ = envp;
44 freq = 1000000;
45 const char *val = getenv("FREQ");
46 if (val != NULL)
47 freq = atoll(val);
48}
49

Callers

nothing calls this directly

Calls 2

getenvFunction · 0.85
atollFunction · 0.85

Tested by

no test coverage detected