diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2006-07-12 01:35:59 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2006-07-12 01:35:59 +0000 |
commit | eb2803ce79604b45c070edbe1e787f4373949cfe (patch) | |
tree | 1a4cce8598daff9fd6f7d88d9746557f73290599 /Process.h | |
parent | dbe2670b69e163cb146d3fc3b3c7b82ea3f71278 (diff) |
Share name strings from UsersList
Diffstat (limited to 'Process.h')
-rw-r--r-- | Process.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |