[BACK]Return to top.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Annotation of src/usr.bin/top/top.h, Revision 1.1

1.1     ! downsj      1: /*     $OpenBSD$       */
        !             2:
        !             3: /*
        !             4:  *  Top - a top users display for Berkeley Unix
        !             5:  *
        !             6:  *  General (global) definitions
        !             7:  */
        !             8:
        !             9: /* Current major version number */
        !            10: #define VERSION                3
        !            11:
        !            12: /* Number of lines of header information on the standard screen */
        !            13: #define Header_lines   6
        !            14:
        !            15: /* Maximum number of columns allowed for display */
        !            16: #define MAX_COLS       128
        !            17:
        !            18: /* Log base 2 of 1024 is 10 (2^10 == 1024) */
        !            19: #define LOG1024                10
        !            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: