aboutsummaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:19 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:19 +0200
commit266ab52b3a741a58fb17c48b0f7939d7c5d266de (patch)
treeb4bccc59b9a35f3acbe7560f3d633940c71aedef /Process.h
parent2c8c1a156130aa40be7dcaeb3ce2977a03cf50c2 (diff)
downloaddebian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.tar.gz
debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.tar.bz2
debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.zip
Imported Upstream version 0.6upstream/0.6
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Process.h b/Process.h
index 2b3b755..5cf127e 100644
--- a/Process.h
+++ b/Process.h
@@ -40,7 +40,7 @@ int kill(pid_t pid, int signal);
typedef enum ProcessField_ {
- PID, COMM, STATE, PPID, PGRP, SESSION, TTY_NR, TPGID, FLAGS, MINFLT, CMINFLT, MAJFLT, CMAJFLT, UTIME,
+ PID = 1, COMM, STATE, PPID, PGRP, SESSION, TTY_NR, TPGID, FLAGS, MINFLT, CMINFLT, MAJFLT, CMAJFLT, UTIME,
STIME, CUTIME, CSTIME, PRIORITY, NICE, ITREALVALUE, STARTTIME, VSIZE, RSS, RLIM, STARTCODE, ENDCODE,
STARTSTACK, KSTKESP, KSTKEIP, SIGNAL, BLOCKED, SSIGIGNORE, SIGCATCH, WCHAN, NSWAP, CNSWAP, EXIT_SIGNAL,
PROCESSOR, M_SIZE, M_RESIDENT, M_SHARE, M_TRS, M_DRS, M_LRS, M_DT, ST_UID, PERCENT_CPU, PERCENT_MEM,
@@ -56,7 +56,7 @@ typedef struct Process_ {
bool updated;
int pid;
- char comm[PROCESS_COMM_LEN + 2];
+ char* comm;
int indent;
char state;
bool tag;
@@ -125,8 +125,6 @@ void Process_display(Object* cast, RichString* out);
void Process_toggleTag(Process* this);
-bool Process_equals(const Object* o1, const Object* o2);
-
void Process_setPriority(Process* this, int priority);
void Process_sendSignal(Process* this, int signal);

© 2014-2024 Faster IT GmbH | imprint | privacy policy