summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proc.h b/proc.h
index 0a31f36..996ce06 100644
--- a/proc.h
+++ b/proc.h
@@ -1,8 +1,11 @@
#ifndef PROC_H
#define PROC_H
+#include <stdlib.h>
+
extern void cpu_affinity(int cpu);
extern int set_proc_prio(int prio);
extern int set_sched_status(int policy, int priority);
+extern ssize_t proc_get_cmdline(unsigned int pid, char *cmdline, size_t len);
#endif /* PROC_H */