std::vector< long > DescendantPids(long root, const std::vector< ProcessEntry > &processes)
Returns root and all its descendants in processes, root first.
Definition: ProcessTree.cpp:30
One process of a process list: its own id and the id of its parent.
Definition: ProcessTree.h:33