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

Function init

examples/limit.c:89–96  ·  view source on GitHub ↗

* Init. */

Source from the content-addressed store, hash-verified

87 * Init.
88 */
89void init(int argc, char **argv, char **envp)
90{
91 environ = envp;
92 limit = 1000;
93 const char *val = getenv("LIMIT");
94 if (val != NULL)
95 limit = atoll(val);
96}
97

Callers

nothing calls this directly

Calls 2

getenvFunction · 0.85
atollFunction · 0.85

Tested by

no test coverage detected