summaryrefslogtreecommitdiff
path: root/proc.h
blob: 996ce06084e41775039bbe7563cd982952997451 (plain)
1
2
3
4
5
6
7
8
9
10
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 */