blob: 9220b2ad863a2942cc9c61ff4541b45e4c31f5ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#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);
extern int proc_exec(const char *proc, char *const argv[]);
#endif /* PROC_H */
|