mirror of
https://github.com/xzeldon/htop.git
synced 2025-01-31 17:17:26 +03:00
Christian Göttsche
7457bfe9f3
Avoid string overflow warning
Use xStrdup instead of xMallow and strncpy StringUtils.c: In function ‘String_split’: StringUtils.c:86:7: error: ‘strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 86 | strncpy(token, s, size + 1); | ^ StringUtils.c:84:18: note: length computed here 84 | int size = strlen(s); | ^
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%