source: trunk/third/top/top.h @ 9084

Revision 9084, 721 bytes checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r9083, which included commits to RCS files with non-trunk default branches.
Line 
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    6
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
19char *itoa();
20char *itoa7();
21
22char *version_string();
23
24/* Special atoi routine returns either a non-negative number or one of: */
25#define Infinity        -1
26#define Invalid         -2
27
28/* maximum number we can have */
29#define Largest         0x7fffffff
30
31/*
32 * The entire display is based on these next numbers being defined as is.
33 */
34
35#define NUM_AVERAGES    3
36
Note: See TracBrowser for help on using the repository browser.