cgroup_file_info Struct Reference
[3. Iterators]

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.

Detailed Description

Information about found directory (= a control group).


Field Documentation

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

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.

Name of its parent.

Name of the entity.

Type of the entity.


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

Generated on 31 Mar 2010 for libcgroup by  doxygen 1.6.1