summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2006-07-12 01:35:59 +0000
committerHisham Muhammad <hisham@gobolinux.org>2006-07-12 01:35:59 +0000
commiteb2803ce79604b45c070edbe1e787f4373949cfe (patch)
tree1a4cce8598daff9fd6f7d88d9746557f73290599 /Process.h
parentdbe2670b69e163cb146d3fc3b3c7b82ea3f71278 (diff)
Share name strings from UsersList
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Process.h b/Process.h
index 680b0d4a..5c4c7166 100644
--- a/Process.h
+++ b/Process.h
@@ -34,7 +34,6 @@ in the source distribution for its full text.
#define PAGE_SIZE ( sysconf(_SC_PAGESIZE) / 1024 )
#define PROCESS_COMM_LEN 300
-#define PROCESS_USER_LEN 10
typedef enum ProcessField_ {
@@ -107,7 +106,7 @@ typedef struct Process_ {
uid_t st_uid;
float percent_cpu;
float percent_mem;
- char user[PROCESS_USER_LEN + 1];
+ char* user;
} Process;

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