diff options
author | Guy M. Broome <thrirhrafnir@gmail.com> | 2018-03-29 13:28:43 -0400 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-05 19:38:13 -0300 |
commit | 0969f83b218e29dcb2a5f7998d0f8c751639f7fe (patch) | |
tree | 7f0396250245aaaef355184c25257bfef3c65af0 /solaris/Platform.h | |
parent | 155d7cbeee5cfa14a5d25fb1c98dfd2e19d88d8b (diff) |
Solaris: Implement process environment listing
Diffstat (limited to 'solaris/Platform.h')
-rw-r--r-- | solaris/Platform.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/solaris/Platform.h b/solaris/Platform.h index 01ffa59b..6b820fea 100644 --- a/solaris/Platform.h +++ b/solaris/Platform.h @@ -16,12 +16,21 @@ in the source distribution for its full text. #include "SignalsPanel.h" #include <signal.h> #include <sys/mkdev.h> +#include <sys/proc.h> +#include <libproc.h> #define kill(pid, signal) kill(pid / 1024, signal) extern ProcessFieldData Process_fields[]; typedef struct var kvar_t; +typedef struct envAccum_ { + size_t capacity; + size_t size; + size_t bytes; + char *env; +} envAccum; + extern double plat_loadavg[3]; |