home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume27 / top-3.2 / part01 / version.c < prev   
C/C++ Source or Header  |  1993-08-08  |  474b  |  23 lines

  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.     return(version);
  22. }
  23.