Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/top/top.h
/*- | /*- | ||||
* Top - a top users display for Berkeley Unix | * Top - a top users display for Berkeley Unix | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef TOP_H | #ifndef TOP_H | ||||
#define TOP_H | #define TOP_H | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#include <stdbool.h> | #include <stdbool.h> | ||||
/* Number of lines of header information on the standard screen */ | /* Number of lines of header information on the standard screen */ | ||||
extern int Header_lines; | extern int Header_lines; | ||||
/* Maximum number of columns allowed for display */ | |||||
#define MAX_COLS 512 | |||||
/* Special atoi routine returns either a non-negative number or one of: */ | /* Special atoi routine returns either a non-negative number or one of: */ | ||||
#define Infinity -1 | #define Infinity -1 | ||||
#define Invalid -2 | #define Invalid -2 | ||||
/* maximum number we can have */ | /* maximum number we can have */ | ||||
#define Largest 0x7fffffff | #define Largest 0x7fffffff | ||||
/* Exit code for system errors */ | /* Exit code for system errors */ | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |