summaryrefslogtreecommitdiffstats
path: root/lib/libkvm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/kvm.38
-rw-r--r--lib/libkvm/kvm_open.38
2 files changed, 12 insertions, 4 deletions
diff --git a/lib/libkvm/kvm.3 b/lib/libkvm/kvm.3
index 5382ae3..560f83d 100644
--- a/lib/libkvm/kvm.3
+++ b/lib/libkvm/kvm.3
@@ -72,7 +72,9 @@ Accordingly, the generic portion of the interface (i.e.,
.Fn kvm_write ,
and
.Fn kvm_nlist )
-has been incorporated into the BSD interface. Indeed, many kvm
+has been incorporated into the
+.Bx
+interface. Indeed, many kvm
applications (i.e., debuggers and statistical monitors) use only
this subset of the interface.
.Pp
@@ -84,7 +86,9 @@ Finally, the Sun kvm error reporting semantics are poorly defined.
The library can be configured either to print errors to stderr automatically,
or to print no error messages at all.
In the latter case, the nature of the error cannot be determined.
-To overcome this, the BSD interface includes a
+To overcome this, the
+.Bx
+interface includes a
routine,
.Xr kvm_geterr 3 ,
to return (not print out) the error message
diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3
index c22c49c..b3b0441 100644
--- a/lib/libkvm/kvm_open.3
+++ b/lib/libkvm/kvm_open.3
@@ -131,7 +131,9 @@ call.
.Pp
The
.Fn kvm_openfiles
-function provides BSD style error reporting.
+function provides
+.Bx
+style error reporting.
Here, error messages are not printed out by the library.
Instead, the application obtains the error message
corresponding to the most recent kvm library call using
@@ -174,7 +176,9 @@ function returns 0 on success and -1 on failure.
.Sh BUGS
There should not be two open calls. The ill-defined error semantics
of the Sun library and the desire to have a backward-compatible library
-for BSD left little choice.
+for
+.Bx
+left little choice.
.Sh SEE ALSO
.Xr open 2 ,
.Xr kvm 3 ,
OpenPOWER on IntegriCloud