/* sched.h - this file appears to have been included in order to define PRIO_PROCESS for calls to setpriority and getpriority or possibly RUSAGE_SELF and RUSAGE_CHILDREN for getrusage. I cannot find a sched.h that has those so I am inventing this quick hack version. (c) Copyright Peter Coghlan 2004-2012 */ #define PRIO_PROCESS 0 #define PRIO_PGRP 1 int getpriority(int which, int who); int setpriority(int which, int who, int priority); #define RUSAGE_SELF 0 #define RUSAGE_CHILDREN -1 int getrusage(int who, struct rusage *rusage);