summaryrefslogtreecommitdiff
path: root/include/glibtop/union.h
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-10-26 09:53:08 +0000
committerMartin Baulig <martin@src.gnome.org>1998-10-26 09:53:08 +0000
commitbdc4e08454cb6d175f4e6e36e5a63aa46dae09b5 (patch)
tree90a3ccd5434bb006bc36e608670626a4e5090355 /include/glibtop/union.h
parent65e3bf19ab663e7322a363e722da90573e37c744 (diff)
downloadlibgtop-bdc4e08454cb6d175f4e6e36e5a63aa46dae09b5.tar.gz
Added new feature (proc_args) to get command line arguments:
typedef struct _glibtop_proc_args glibtop_proc_args; struct _glibtop_proc_args { u_int64_t flags, size; /* GLIBTOP_PROC_ARGS_SIZE */ }; Returns a string containing all command line arguments of the process, the `unsigned' parameter is the maximum length of this string; if it is zero then no limit will be set. extern const char *glibtop_get_proc_args_l __P((glibtop *, glibtop_proc_args *, pid_t, unsigned));
Diffstat (limited to 'include/glibtop/union.h')
-rw-r--r--include/glibtop/union.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/glibtop/union.h b/include/glibtop/union.h
index aa420f2f..68e30e2e 100644
--- a/include/glibtop/union.h
+++ b/include/glibtop/union.h
@@ -39,6 +39,7 @@
#include <glibtop/procsignal.h>
#include <glibtop/prockernel.h>
#include <glibtop/procsegment.h>
+#include <glibtop/procargs.h>
#include <glibtop/procmap.h>
#include <glibtop/mountlist.h>
@@ -68,6 +69,7 @@ union _glibtop_union
glibtop_proc_signal proc_signal;
glibtop_proc_kernel proc_kernel;
glibtop_proc_segment proc_segment;
+ glibtop_proc_args proc_args;
glibtop_proc_map proc_map;
glibtop_mountlist mountlist;
glibtop_fsusage fsusage;