diff options
author | trociny <trociny@FreeBSD.org> | 2013-04-20 08:07:04 +0000 |
---|---|---|
committer | trociny <trociny@FreeBSD.org> | 2013-04-20 08:07:04 +0000 |
commit | 890cfdcd4f22a72faa1ac356436926ed16e08270 (patch) | |
tree | 1bc4877fd293d6e22b313d21587e331e2880b02b /lib/libprocstat/libprocstat_internal.h | |
parent | 7b0f0126fb247c7c74a8723dc794fc93445f2009 (diff) | |
download | FreeBSD-src-890cfdcd4f22a72faa1ac356436926ed16e08270.zip FreeBSD-src-890cfdcd4f22a72faa1ac356436926ed16e08270.tar.gz |
Extend libprocstat with functions to retrieve process command line
arguments and environment variables.
Suggested by: stas
Reviewed by: jhb and stas (initial version)
MFC after: 1 month
Diffstat (limited to 'lib/libprocstat/libprocstat_internal.h')
-rw-r--r-- | lib/libprocstat/libprocstat_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libprocstat/libprocstat_internal.h b/lib/libprocstat/libprocstat_internal.h index ff1e742..6ca3197 100644 --- a/lib/libprocstat/libprocstat_internal.h +++ b/lib/libprocstat/libprocstat_internal.h @@ -34,6 +34,8 @@ struct procstat { kvm_t *kd; void *vmentries; void *files; + void *argv; + void *envv; struct procstat_core *core; }; |