summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_open.3
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-07-09 13:35:13 +0000
committeraaron <aaron@openbsd.org>1999-07-09 13:35:13 +0000
commit5c3dced36cf8ba5814dbe5ef397db72526a1fd4f (patch)
tree90483e7f9368ad7c7ba836616ba17091ef92c1e4 /lib/libkvm/kvm_open.3
parentstop Makefile from trying to build now-defunct rmuser.8; form@vell.nsc.ru (diff)
downloadwireguard-openbsd-5c3dced36cf8ba5814dbe5ef397db72526a1fd4f.tar.xz
wireguard-openbsd-5c3dced36cf8ba5814dbe5ef397db72526a1fd4f.zip
- 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/kvm_open.3')
-rw-r--r--lib/libkvm/kvm_open.322
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3
index 7b2aba5aa06..56620ace6a8 100644
--- a/lib/libkvm/kvm_open.3
+++ b/lib/libkvm/kvm_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_open.3,v 1.4 1999/07/07 14:22:25 aaron Exp $
+.\" $OpenBSD: kvm_open.3,v 1.5 1999/07/09 13:35:25 aaron Exp $
.\" $NetBSD: kvm_open.3,v 1.2 1996/03/18 22:33:52 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -59,10 +59,10 @@
.Sh DESCRIPTION
The functions
.Fn kvm_open
-and
+and
.Fn kvm_openfiles
return a descriptor used to access kernel virtual memory
-via the
+via the
.Xr kvm 3
library routines. Both active kernels and crash dumps are accessible
through this interface.
@@ -80,9 +80,9 @@ if it exists, otherwise
is used.
Both are defined in <paths.h>.
.Pp
-.Fa corefile
+.Fa corefile
is the kernel memory device file. It can be either /dev/mem
-or a crash dump core generated by
+or a crash dump core generated by
.Xr savecore 8 .
If
.Fa corefile
@@ -99,7 +99,7 @@ should indicate the swap device. If
from <paths.h> is used.
.Pp
The
-.Fa flags
+.Fa flags
argument indicates read/write access as in
.Xr open 2
and applies only to the core file.
@@ -110,7 +110,7 @@ and
.Dv O_RDWR
are permitted.
.Pp
-There are two open routines which differ only with respect to
+There are two open routines which differ only with respect to
the error mechanism.
One provides backward compatibility with the SunOS kvm library, while the
other provides an improved error reporting framework.
@@ -121,11 +121,11 @@ function is the Sun kvm compatible open call. Here, the
.Fa errstr
argument indicates how errors should be handled. If it is
.Dv NULL ,
-no errors are reported and the application cannot know the
+no errors are reported and the application cannot know the
specific nature of the failed kvm call.
If it is not
.Dv NULL ,
-errors are printed to stderr with
+errors are printed to stderr with
.Fa errstr
prepended to the message, as in
.Xr perror 3 .
@@ -161,7 +161,7 @@ argument. This buffer should be _POSIX2_LINE_MAX characters large (from
.Sh RETURN VALUES
The
.Fn kvm_open
-and
+and
.Fn kvm_openfiles
functions both return a descriptor to be used
in all subsequent kvm library calls.
@@ -170,7 +170,7 @@ On failure,
.Dv NULL
is returned, in which case
.Fn kvm_openfiles
-writes the error message into
+writes the error message into
.Fa errbuf .
.Pp
The