trafgen: proto: Don't store context in each proto header
[netsniff-ng-new.git] / proc.h
blob9220b2ad863a2942cc9c61ff4541b45e4c31f5ef
1 #ifndef PROC_H
2 #define PROC_H
4 #include <stdlib.h>
6 extern void cpu_affinity(int cpu);
7 extern int set_proc_prio(int prio);
8 extern int set_sched_status(int policy, int priority);
9 extern ssize_t proc_get_cmdline(unsigned int pid, char *cmdline, size_t len);
10 extern int proc_exec(const char *proc, char *const argv[]);
12 #endif /* PROC_H */