diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-09 13:36:00 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-09 13:36:00 +0000 |
commit | 078c2448197a826265f74828b3159d758f1f0ceb (patch) | |
tree | ef3b0d7b2b6fcf1328ac8953d9e2abf6431093ea /lib/libkvm.old/kvm_getprocs.3 | |
parent | 3610cb2f5b1eeb5e599fcca418780b43c2f30b6d (diff) |
- remove all trailing whitespace
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages
Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...
Diffstat (limited to 'lib/libkvm.old/kvm_getprocs.3')
-rw-r--r-- | lib/libkvm.old/kvm_getprocs.3 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/libkvm.old/kvm_getprocs.3 b/lib/libkvm.old/kvm_getprocs.3 index 3cb7ea0b0ad..887f36c3df6 100644 --- a/lib/libkvm.old/kvm_getprocs.3 +++ b/lib/libkvm.old/kvm_getprocs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_getprocs.3,v 1.3 1999/07/02 21:13:05 aaron Exp $ +.\" $OpenBSD: kvm_getprocs.3,v 1.4 1999/07/09 13:35:26 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -43,7 +43,7 @@ .Sh NAME .Nm kvm_getprocs , .Nm kvm_getargv , -.Nm kvm_getenvv +.Nm kvm_getenvv .Nd access user process state .Sh SYNOPSIS .Fd #include <kvm.h> @@ -73,7 +73,7 @@ describes the filtering predicate as follows: .It Sy KERN_PROC_ALL all processes .It Sy KERN_PROC_PID -processes with process id +processes with process id .Fa arg .It Sy KERN_PROC_PGRP processes with process group @@ -96,13 +96,13 @@ The number of processes found is returned in the reference parameter .Fa cnt . The processes are returned as a contiguous array of kinfo_proc structures. This memory is locally allocated, and subsequent calls to -.Fn kvm_getprocs -and +.Fn kvm_getprocs +and .Fn kvm_close will overwrite this storage. .Pp .Fn kvm_getargv -returns a null-terminated argument vector that corresponds to the +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 @@ -113,7 +113,7 @@ Note that the original command name can be found, unaltered, in the p_comm field of the process structure returned by .Fn kvm_getprocs . .Pp -The +The .Fa nchr argument indicates the maximum number of characters, including null bytes, to use in building the strings. If this amount is exceeded, the string @@ -126,13 +126,13 @@ that print only a one line summary of a command and should not copy out large amounts of text only to ignore it. If .Fa nchr -is zero, no limit is imposed and all argument strings are returned in +is zero, no limit is imposed and all argument strings are returned in their entirety. .Pp The memory allocated to the argv pointers and string storage -is owned by the kvm library. Subsequent -.Fn kvm_getprocs -and +is owned by the kvm library. Subsequent +.Fn kvm_getprocs +and .Xr kvm_close 3 calls will clobber this storage. .Pp |