MCPcopy Create free account
hub / github.com/ioi/isolate / cf_int

Function cf_int

config.c:42–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42static int
43cf_int(char *val)
44{
45 char *end;
46 errno = 0;
47 long int x = strtol(val, &end, 10);
48 if (errno || end == val || end && *end)
49 cf_err("Invalid number");
50 if ((long int)(int) x != x)
51 cf_err("Number out of range");
52 return x;
53}
54
55static void
56cf_entry_toplevel(char *key, char *val)

Callers 2

cf_entry_toplevelFunction · 0.85
cf_entry_compoundFunction · 0.85

Calls 1

cf_errFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…