summaryrefslogtreecommitdiffstats
path: root/contrib/top/top.h
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-03-23 18:51:21 +0000
committerjoerg <joerg@FreeBSD.org>1997-03-23 18:51:21 +0000
commitc1a738a3bedc8182878c8f04311d72237fc15d4b (patch)
tree8b24c51ef0531ab64a41a4daec79701f26666c39 /contrib/top/top.h
parent11933497bf01333f6eb1082c6e45c221b90035d1 (diff)
parent1b9d0472b72177a604d3c5dd26d25eec00049bd2 (diff)
downloadFreeBSD-src-c1a738a3bedc8182878c8f04311d72237fc15d4b.zip
FreeBSD-src-c1a738a3bedc8182878c8f04311d72237fc15d4b.tar.gz
This commit was generated by cvs2svn to compensate for changes in r24139,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/top/top.h')
-rw-r--r--contrib/top/top.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/contrib/top/top.h b/contrib/top/top.h
new file mode 100644
index 0000000..8f50922
--- /dev/null
+++ b/contrib/top/top.h
@@ -0,0 +1,36 @@
+/*
+ * Top - a top users display for Berkeley Unix
+ *
+ * General (global) definitions
+ */
+
+/* Current major version number */
+#define VERSION 3
+
+/* Number of lines of header information on the standard screen */
+#define Header_lines 6
+
+/* Maximum number of columns allowed for display */
+#define MAX_COLS 128
+
+/* Log base 2 of 1024 is 10 (2^10 == 1024) */
+#define LOG1024 10
+
+char *itoa();
+char *itoa7();
+
+char *version_string();
+
+/* Special atoi routine returns either a non-negative number or one of: */
+#define Infinity -1
+#define Invalid -2
+
+/* maximum number we can have */
+#define Largest 0x7fffffff
+
+/*
+ * The entire display is based on these next numbers being defined as is.
+ */
+
+#define NUM_AVERAGES 3
+
OpenPOWER on IntegriCloud