Application must initialize
In addition, there is no way how to clean the cache on application exit.
|Initialize libcgroup. |
|int||cgroup_get_subsys_mount_point (const char *controller, char **mount_point)|
|Returns path where is mounted given controller. |
|int cgroup_get_subsys_mount_point||(||const char *||controller,|
Returns path where is mounted given controller.
Applications should rely on
libcgroup API and not call this function directly.
|controller||Name of the controller|
|mount_point||The string where the mount point location is stored. Please note, the caller must free the mount_point.|
Information about mounted hierarchies are examined and cached internally (just what's mounted where, not the groups themselves).