Add a vclean_unlocked() call that allows HAMMER to try to get rid of a
[dragonfly.git] / contrib / top / top.h
blobd979b70b4adf7aa967d1bd2ae5855a3e68ee80c3
1 /*
2 * Top - a top users display for Berkeley Unix
4 * General (global) definitions
5 */
7 /* Current major version number */
8 #define VERSION 3
10 /* Number of lines of header information on the standard screen */
11 #define Header_lines (7 + n_cpus - 1)
12 extern int n_cpus;
14 /* Maximum number of columns allowed for display */
15 #define MAX_COLS 128
17 /* Log base 2 of 1024 is 10 (2^10 == 1024) */
18 #define LOG1024 10
20 extern int screen_width;
22 char *itoa();
23 char *itoa7();
25 char *version_string();
27 /* Special atoi routine returns either a non-negative number or one of: */
28 #define Infinity -1
29 #define Invalid -2
31 /* maximum number we can have */
32 #define Largest 0x7fffffff
35 * The entire display is based on these next numbers being defined as is.
38 #define NUM_AVERAGES 3