* Add this nice filesystem testing tool that I've recently
[dragonfly.git] / contrib / top / version.c
1 /*
2  *  Top users/processes display for Unix
3  *  Version 3
4  *
5  *  This program may be freely redistributed,
6  *  but this entire comment MUST remain intact.
7  *
8  *  Copyright (c) 1984, 1989, William LeFebvre, Rice University
9  *  Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
10  */
11
12 #include "top.h"
13 #include "patchlevel.h"
14
15 static char version[16];
16
17 char *version_string()
18
19 {
20     sprintf(version, "%d.%d", VERSION, PATCHLEVEL);
21 #ifdef BETA
22     strcat(version, BETA);
23 #endif
24     return(version);
25 }