chiark / gitweb /
core: add new .slice unit type for partitioning systems
[elogind.git] / src / shared / cgroup-util.h
index 5835e04075dbb37918537133f741d070798a8f75..84274e605de888e8f0e2975a5b277d54ed63ad9f 100644 (file)
@@ -112,3 +112,5 @@ char *cg_escape(const char *p);
 char *cg_unescape(const char *p) _pure_;
 
 bool cg_controller_is_valid(const char *p, bool allow_named);
+
+int cg_slice_to_path(const char *unit, char **ret);