Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
f78a18ff
Commit
f78a18ff
authored
Mar 23, 2006
by
Hisham Muhammad
Browse files
Fixes for header generation.
parent
130938f6
Changes
1
Show whitespace changes
Inline
Side-by-side
htop.c
View file @
f78a18ff
/*
/*
htop - htop.c
htop - htop.c
(C) 2004
,
200
5
Hisham H. Muhammad
(C) 2004
-
200
6
Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
in the source distribution for its full text.
*/
*/
...
@@ -12,11 +12,6 @@ in the source distribution for its full text.
...
@@ -12,11 +12,6 @@ in the source distribution for its full text.
#include <ctype.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdbool.h>
#ifndef CONFIG_H
#define CONFIG_H
#include "config.h"
#endif
#include "ProcessList.h"
#include "ProcessList.h"
#include "CRT.h"
#include "CRT.h"
#include "ListBox.h"
#include "ListBox.h"
...
@@ -31,6 +26,7 @@ in the source distribution for its full text.
...
@@ -31,6 +26,7 @@ in the source distribution for its full text.
#include "SignalsListBox.h"
#include "SignalsListBox.h"
#include "TraceScreen.h"
#include "TraceScreen.h"
#include "config.h"
#include "debug.h"
#include "debug.h"
//#link m
//#link m
...
@@ -42,14 +38,14 @@ char htop_barCharacters[] = "|#*@$%&";
...
@@ -42,14 +38,14 @@ char htop_barCharacters[] = "|#*@$%&";
void
printVersionFlag
()
{
void
printVersionFlag
()
{
clear
();
clear
();
printf
(
"htop "
VERSION
" - (C) 2004
,
200
5
Hisham Muhammad.
\n
"
);
printf
(
"htop "
VERSION
" - (C) 2004
-
200
6
Hisham Muhammad.
\n
"
);
printf
(
"Released under the GNU GPL.
\n\n
"
);
printf
(
"Released under the GNU GPL.
\n\n
"
);
exit
(
0
);
exit
(
0
);
}
}
void
printHelpFlag
()
{
void
printHelpFlag
()
{
clear
();
clear
();
printf
(
"htop "
VERSION
" - (C) 2004
,
200
5
Hisham Muhammad.
\n
"
);
printf
(
"htop "
VERSION
" - (C) 2004
-
200
6
Hisham Muhammad.
\n
"
);
printf
(
"Released under the GNU GPL.
\n\n
"
);
printf
(
"Released under the GNU GPL.
\n\n
"
);
printf
(
"-d DELAY Delay between updates, in tenths of seconds
\n\n
"
);
printf
(
"-d DELAY Delay between updates, in tenths of seconds
\n\n
"
);
printf
(
"-u USERNAME Show only processes of a given user
\n\n
"
);
printf
(
"-u USERNAME Show only processes of a given user
\n\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment