mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
cgutil: export more functions to initctl
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
fcb8ec9967
commit
728db73b09
2 files changed
+12
-5
No files matched your search
+9
-2
@@ -24,8 +24,15 @@
|
||||
#ifndef FINIT_CGUTIL_H_
|
||||
#define FINIT_CGUTIL_H_
|
||||
|
||||
int show_cgroup (char *arg);
|
||||
int show_cgtop (char *arg);
|
||||
#include <stdlib.h>
|
||||
|
||||
char *pid_cmdline (int pid, char *buf, size_t len);
|
||||
char *pid_comm (int pid, char *buf, size_t len);
|
||||
|
||||
int cgroup_tree (char *path, char *pfx, int top);
|
||||
|
||||
int show_cgroup (char *arg);
|
||||
int show_cgtop (char *arg);
|
||||
|
||||
#endif /* FINIT_CGUTIL_H_ */
|
||||
|
||||
|
||||
Reference in new issue
Block a user