Information about found directory (= a control group). More...
#include <iterators.h>
Data Fields | |
enum cgroup_file_type | type |
Type of the entity. | |
const char * | path |
Name of the entity. | |
const char * | parent |
Name of its parent. | |
const char * | full_path |
Full path to the entity. | |
short | depth |
Depth of the entity, how many directories below the root of walk it is. |
Information about found directory (= a control group).
short cgroup_file_info::depth |
Depth of the entity, how many directories below the root of walk it is.
const char* cgroup_file_info::full_path |
Full path to the entity.
To get path relative to the root of the walk, you must store its full_path
(or its length) and calculate the relative path by yourself.
const char* cgroup_file_info::parent |
Name of its parent.
const char* cgroup_file_info::path |
Name of the entity.
Type of the entity.