MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / next_token

Function next_token

src/setcpuaffinity.c:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49#ifdef USE_SETCPUAFFINITY
50static const char *next_token(const char *q, int sep) {
51 if (q)
52 q = strchr(q, sep);
53 if (q)
54 q++;
55
56 return q;
57}
58
59static int next_num(const char *str, char **end, int *result) {
60 if (!str || *str == '\0' || !isdigit(*str))

Callers 1

setcpuaffinityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected