mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
aee34003d7
the src/contrib/top part right now). This tools is simply too system- dependant to maintain it in the ports collection.
26 lines
520 B
C
26 lines
520 B
C
/*
|
|
* Top users/processes display for Unix
|
|
* Version 3
|
|
*
|
|
* This program may be freely redistributed,
|
|
* but this entire comment MUST remain intact.
|
|
*
|
|
* Copyright (c) 1984, 1989, William LeFebvre, Rice University
|
|
* Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
|
|
*/
|
|
|
|
#include "top.h"
|
|
#include "patchlevel.h"
|
|
|
|
static char version[16];
|
|
|
|
char *version_string()
|
|
|
|
{
|
|
sprintf(version, "%d.%d", VERSION, PATCHLEVEL);
|
|
#ifdef BETA
|
|
strcat(version, BETA);
|
|
#endif
|
|
return(version);
|
|
}
|