I\'m writing a c++ program that is supposed to output running processes and their children. I\'m iterating over the file "children" in /proc/pid/task/tid/children