diff options
Diffstat (limited to 'lib/libkvm/kvm_getprocs.3')
-rw-r--r-- | lib/libkvm/kvm_getprocs.3 | 11 |
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 |