| 48 | |
| 49 | #ifdef USE_SETCPUAFFINITY |
| 50 | static 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 | |
| 59 | static int next_num(const char *str, char **end, int *result) { |
| 60 | if (!str || *str == '\0' || !isdigit(*str)) |