resource.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PRIO_MIN   -20
#define PRIO_MAX   20
#define PRIO_STOP   76
#define PRIO_PROCESS   0
#define PRIO_PGRP   1
#define PRIO_USER   2

Functions

int getpriority (int, int)
int setpriority (int, int, int)


Define Documentation

#define PRIO_MAX   20
 

Definition at line 9 of file resource.h.

Referenced by do_nice(), and get_nice_value().

#define PRIO_MIN   -20
 

Definition at line 8 of file resource.h.

Referenced by do_getsetpriority(), do_nice(), get_nice_value(), and getpriority().

#define PRIO_PGRP   1
 

Definition at line 15 of file resource.h.

#define PRIO_PROCESS   0
 

Definition at line 14 of file resource.h.

Referenced by do_getsetpriority(), and main().

#define PRIO_STOP   76
 

Definition at line 12 of file resource.h.

Referenced by do_nice(), do_reboot(), and pm_exit().

#define PRIO_USER   2
 

Definition at line 16 of file resource.h.


Function Documentation

int getpriority int  ,
int 
 

Definition at line 14 of file priority.c.

References _syscall(), GETPRIORITY, m, MM, and PRIO_MIN.

Referenced by main().

int setpriority int  ,
int  ,
int 
 

Definition at line 36 of file priority.c.

References _syscall(), m, MM, and SETPRIORITY.

Referenced by main().


Generated on Fri Apr 14 23:12:03 2006 for minix by  doxygen 1.4.6