proc_read_strstr
extern int proc_read_strstr(int pid, bool thread, const char *item, const char *needle);
if (proc_read_strstr(0, 1, "cgroup", lines[(i % 2) + 1]))
if (proc_read_strstr(0, 1, "cgroup", line))