s/pxeldr/pxeboot/
[dragonfly.git] / contrib / top / top.h
1 /*
2  *  Top - a top users display for Berkeley Unix
3  *
4  *  General (global) definitions
5  */
6
7 /* Current major version number */
8 #define VERSION         3
9
10 /* Number of lines of header information on the standard screen */
11 #define Header_lines    7
12
13 /* Maximum number of columns allowed for display */
14 #define MAX_COLS        128
15
16 /* Log base 2 of 1024 is 10 (2^10 == 1024) */
17 #define LOG1024         10
18
19 extern int screen_width;
20
21 char *itoa();
22 char *itoa7();
23
24 char *version_string();
25
26 /* Special atoi routine returns either a non-negative number or one of: */
27 #define Infinity        -1
28 #define Invalid         -2
29
30 /* maximum number we can have */
31 #define Largest         0x7fffffff
32
33 /*
34  * The entire display is based on these next numbers being defined as is.
35  */
36
37 #define NUM_AVERAGES    3
38