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

Function parse_ugid

config.c:109–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109static bool
110parse_ugid(const char *src, int *dest)
111{
112 char *end;
113 errno = 0;
114 unsigned long val = strtoul(src, &end, 10);
115 if (errno || end == src || end && *end)
116 return false;
117 if (val > INT_MAX)
118 return false;
119 *dest = val;
120 return true;
121}
122
123static int
124find_subid(const char *sub_file, const char *user, int *num_ids)

Callers 1

find_subidFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…