Revision 9084,
520 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.
|
Rev | Line | |
---|
[9083] | 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 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.