libcgroup
Loading...
Searching...
No Matches
cgroup_file_info Struct Reference

#include <iterators.h>

Data Fields

enum cgroup_file_type type
 
const char * path
 
const char * parent
 
const char * full_path
 
short depth
 

Detailed Description

Information about found directory (= a control group).

Field Documentation

◆ depth

short cgroup_file_info::depth

Depth of the entity, how many directories below the root of walk it is.

◆ full_path

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.

◆ parent

const char* cgroup_file_info::parent

Name of its parent.

◆ path

const char* cgroup_file_info::path

Name of the entity.

◆ type

enum cgroup_file_type cgroup_file_info::type

Type of the entity.


The documentation for this struct was generated from the following file: