chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: add new .slice unit type for partitioning systems
[elogind.git]
/
src
/
shared
/
cgroup-util.h
diff --git
a/src/shared/cgroup-util.h
b/src/shared/cgroup-util.h
index 5835e04075dbb37918537133f741d070798a8f75..84274e605de888e8f0e2975a5b277d54ed63ad9f 100644
(file)
--- a/
src/shared/cgroup-util.h
+++ b/
src/shared/cgroup-util.h
@@
-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);