mirror of
https://github.com/xzeldon/htop.git
synced 2025-02-07 12:23:38 +03:00
Christian Göttsche
21fb56e1e2
Avoid string overflow warning
Enough memory is allocated. Header.c: In function ‘Header_readMeterName’: Header.c:157:4: error: ‘strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 157 | strncpy(name, Meter_name(meter), nameLen); | ^ Header.c:154:18: note: length computed here 154 | int nameLen = strlen(Meter_name(meter)); | ^
Introduction
htop
is a cross-platform interactive process viewer.
It requires ncurses
.
For more information and details on how to contribute to htop
visit htop.dev.
Build instructions
This program is distributed as a standard autotools-based package.
For detailed instructions see the INSTALL file, which
is created after ./autogen.sh
is run.
When compiling from a release tarball, run:
./configure && make
For compiling sources downloaded from the Git repository, run:
./autogen.sh && ./configure && make
By default make install
will install into /usr/local
, for changing
the path use ./configure --prefix=/some/path
.
See the manual page (man htop
) or the on-line help ('F1' or 'h'
inside htop
) for a list of supported key commands.
License
GNU General Public License, version 2 (GPL-2.0)
Description
Languages
C
93%
Roff
2.3%
M4
2.3%
Lua
1.5%
Makefile
0.8%