Back to index

glibc  2.9
Defines | Functions
resource.h File Reference
#include <sys/types.h>
#include <sys/resource.h>
#include <errno.h>
#include <hurd/process.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define MACH_PRIORITY_TO_NICE(prio)   (2 * ((prio) - 12))
#define NICE_TO_MACH_PRIORITY(nice)   (12 + ((nice) / 2))


error_t _hurd_priority_which_map (enum __priority_which which, int who, error_t(*fn)(pid_t pid, struct procinfo *pi), int pi_flags)

Define Documentation

#define MACH_PRIORITY_TO_NICE (   prio)    (2 * ((prio) - 12))

Definition at line 46 of file resource.h.

#define NICE_TO_MACH_PRIORITY (   nice)    (12 + ((nice) / 2))

Definition at line 47 of file resource.h.

Function Documentation

error_t _hurd_priority_which_map ( enum __priority_which  which,
int  who,
error_t(*)(pid_t pid, struct procinfo *pi fn,
int  pi_flags 

Here is the caller graph for this function: