summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_getprocs.3
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2003-03-24 15:58:53 +0000
committercharnier <charnier@FreeBSD.org>2003-03-24 15:58:53 +0000
commitc8e9ed4243a6371d5f630e454c1c9065ba21a66c (patch)
tree5f97aca110ca7405daf1022e61ae950be063c950 /lib/libkvm/kvm_getprocs.3
parent6eb1ca6abccca9f8355383294c70cdc4496ed8c7 (diff)
downloadFreeBSD-src-c8e9ed4243a6371d5f630e454c1c9065ba21a66c.zip
FreeBSD-src-c8e9ed4243a6371d5f630e454c1c9065ba21a66c.tar.gz
The .Fn function
The .Fa argument
Diffstat (limited to 'lib/libkvm/kvm_getprocs.3')
-rw-r--r--lib/libkvm/kvm_getprocs.311
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libkvm/kvm_getprocs.3 b/lib/libkvm/kvm_getprocs.3
index 15b9b3d..c4846a8 100644
--- a/lib/libkvm/kvm_getprocs.3
+++ b/lib/libkvm/kvm_getprocs.3
@@ -58,8 +58,9 @@
.Ft char **
.Fn kvm_getenvv "kvm_t *kd" "const struct kinfo_proc *p" "int nchr"
.Sh DESCRIPTION
+The
.Fn kvm_getprocs
-returns a (sub-)set of active processes in the kernel indicated by
+function returns a (sub-)set of active processes in the kernel indicated by
.Fa kd .
The
.Fa op
@@ -102,8 +103,9 @@ and
.Fn kvm_close
will overwrite this storage.
.Pp
+The
.Fn kvm_getargv
-returns a null-terminated argument vector that corresponds to the
+function returns a null-terminated argument vector that corresponds to the
command line arguments passed to process indicated by
.Fa p .
Most likely, these arguments correspond to the values passed to
@@ -144,11 +146,12 @@ function is similar to
but returns the vector of environment strings. This data is
also alterable by the process.
.Sh RETURN VALUES
+The
.Fn kvm_getprocs ,
.Fn kvm_getargv ,
and
-.Fn kvm_getenvv ,
-all return
+.Fn kvm_getenvv
+functions return
.Dv NULL
on failure.
.Sh BUGS
OpenPOWER on IntegriCloud