summaryrefslogtreecommitdiff
path: root/lib/libkvm
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2011-08-18 13:01:27 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2011-08-18 13:01:27 +0000
commitf56a6d6ec44626613221cede979f98ea295c2938 (patch)
treeab67884052a60a47c792486e1956f96755fd6adb /lib/libkvm
parent21c54b7deaad5392d2832668dc9d9d330264b525 (diff)
where a man page has multiple links, only reference that page
once in SEE ALSO; also prefer Xr to Fn where relevant; diff started by Martin Pelikan
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/kvm.311
-rw-r--r--lib/libkvm/kvm_geterr.316
-rw-r--r--lib/libkvm/kvm_getfiles.39
-rw-r--r--lib/libkvm/kvm_getprocs.39
-rw-r--r--lib/libkvm/kvm_nlist.39
-rw-r--r--lib/libkvm/kvm_open.39
-rw-r--r--lib/libkvm/kvm_read.314
7 files changed, 24 insertions, 53 deletions
diff --git a/lib/libkvm/kvm.3 b/lib/libkvm/kvm.3
index a7088864987..dfeffec876a 100644
--- a/lib/libkvm/kvm.3
+++ b/lib/libkvm/kvm.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm.3,v 1.7 2007/05/31 19:19:35 jmc Exp $
+.\" $OpenBSD: kvm.3,v 1.8 2011/08/18 13:01:26 jmc Exp $
.\" $NetBSD: kvm.3,v 1.2 1996/03/18 22:33:11 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)kvm.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 18 2011 $
.Dt KVM 3
.Os
.Sh NAME
@@ -62,17 +62,12 @@ is first called to obtain a descriptor for all subsequent calls.
interface to physical memory
.El
.Sh SEE ALSO
-.Xr kvm_close 3 ,
-.Xr kvm_getargv 3 ,
-.Xr kvm_getenvv 3 ,
.Xr kvm_geterr 3 ,
.Xr kvm_getloadavg 3 ,
.Xr kvm_getprocs 3 ,
.Xr kvm_nlist 3 ,
.Xr kvm_open 3 ,
-.Xr kvm_openfiles 3 ,
-.Xr kvm_read 3 ,
-.Xr kvm_write 3
+.Xr kvm_read 3
.Sh STANDARDS
The kvm interface was first introduced in SunOS.
A considerable
diff --git a/lib/libkvm/kvm_geterr.3 b/lib/libkvm/kvm_geterr.3
index ad89f967900..01c9ce9115b 100644
--- a/lib/libkvm/kvm_geterr.3
+++ b/lib/libkvm/kvm_geterr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_geterr.3,v 1.7 2007/05/31 19:19:35 jmc Exp $
+.\" $OpenBSD: kvm_geterr.3,v 1.8 2011/08/18 13:01:26 jmc Exp $
.\" $NetBSD: kvm_geterr.3,v 1.2 1996/03/18 22:33:20 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)kvm_geterr.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 18 2011 $
.Dt KVM_GETERR 3
.Os
.Sh NAME
@@ -57,22 +57,18 @@ so the message should be copied out and saved elsewhere if necessary.
.Sh SEE ALSO
.Xr kvm 3 ,
.Xr kvm_close 3 ,
-.Xr kvm_getargv 3 ,
-.Xr kvm_getenvv 3 ,
.Xr kvm_getprocs 3 ,
.Xr kvm_nlist 3 ,
.Xr kvm_open 3 ,
-.Xr kvm_openfiles 3 ,
-.Xr kvm_read 3 ,
-.Xr kvm_write 3
+.Xr kvm_read 3
.Sh BUGS
This routine cannot be used to access error conditions due to a failed
-.Fn kvm_openfiles
+.Xr kvm_openfiles 3
call, since failure is indicated by returning a
.Dv NULL
descriptor.
Therefore, errors on open are output to the special error buffer
passed to
-.Fn kvm_openfiles .
+.Xr kvm_openfiles 3 .
This option is not available to
-.Fn kvm_open .
+.Xr kvm_open 3 .
diff --git a/lib/libkvm/kvm_getfiles.3 b/lib/libkvm/kvm_getfiles.3
index 3ae45646bd9..693ba1146c7 100644
--- a/lib/libkvm/kvm_getfiles.3
+++ b/lib/libkvm/kvm_getfiles.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_getfiles.3,v 1.12 2009/06/07 03:09:34 millert Exp $
+.\" $OpenBSD: kvm_getfiles.3,v 1.13 2011/08/18 13:01:26 jmc Exp $
.\" $NetBSD: kvm_getfiles.3,v 1.3 1996/03/18 22:33:23 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)kvm_getfiles.3 8.2 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: June 7 2009 $
+.Dd $Mdocdate: August 18 2011 $
.Dt KVM_GETFILES 3
.Os
.Sh NAME
@@ -131,12 +131,9 @@ will return
on failure.
.Sh SEE ALSO
.Xr kvm 3 ,
-.Xr kvm_close 3 ,
.Xr kvm_geterr 3 ,
.Xr kvm_nlist 3 ,
.Xr kvm_open 3 ,
-.Xr kvm_openfiles 3 ,
-.Xr kvm_read 3 ,
-.Xr kvm_write 3
+.Xr kvm_read 3
.Sh BUGS
This routine does not belong in the kvm interface.
diff --git a/lib/libkvm/kvm_getprocs.3 b/lib/libkvm/kvm_getprocs.3
index e7233604793..cf1a0b69189 100644
--- a/lib/libkvm/kvm_getprocs.3
+++ b/lib/libkvm/kvm_getprocs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_getprocs.3,v 1.15 2011/03/12 07:28:22 jmc Exp $
+.\" $OpenBSD: kvm_getprocs.3,v 1.16 2011/08/18 13:01:26 jmc Exp $
.\" $NetBSD: kvm_getprocs.3,v 1.13 2003/08/07 16:44:37 agc Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)kvm_getprocs.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: March 12 2011 $
+.Dd $Mdocdate: August 18 2011 $
.Dt KVM_GETPROCS 3
.Os
.Sh NAME
@@ -197,13 +197,10 @@ all return
on failure.
.Sh SEE ALSO
.Xr kvm 3 ,
-.Xr kvm_close 3 ,
.Xr kvm_geterr 3 ,
.Xr kvm_nlist 3 ,
.Xr kvm_open 3 ,
-.Xr kvm_openfiles 3 ,
-.Xr kvm_read 3 ,
-.Xr kvm_write 3
+.Xr kvm_read 3
.Sh BUGS
These routines do not belong in the
.Xr kvm 3
diff --git a/lib/libkvm/kvm_nlist.3 b/lib/libkvm/kvm_nlist.3
index c1053726689..9dd9faa6b1a 100644
--- a/lib/libkvm/kvm_nlist.3
+++ b/lib/libkvm/kvm_nlist.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_nlist.3,v 1.8 2007/05/31 19:19:35 jmc Exp $
+.\" $OpenBSD: kvm_nlist.3,v 1.9 2011/08/18 13:01:26 jmc Exp $
.\" $NetBSD: kvm_nlist.3,v 1.3 1996/03/18 22:33:48 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)kvm_nlist.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 18 2011 $
.Dt KVM_NLIST 3
.Os
.Sh NAME
@@ -84,13 +84,8 @@ If the kernel symbol table was unreadable, \-1 is returned.
.El
.Sh SEE ALSO
.Xr kvm 3 ,
-.Xr kvm_close 3 ,
-.Xr kvm_getargv 3 ,
-.Xr kvm_getenvv 3 ,
.Xr kvm_geterr 3 ,
.Xr kvm_getprocs 3 ,
.Xr kvm_open 3 ,
-.Xr kvm_openfiles 3 ,
.Xr kvm_read 3 ,
-.Xr kvm_write 3 ,
.Xr kvm_mkdb 8
diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3
index d5c27805b07..65d6e9b7ad0 100644
--- a/lib/libkvm/kvm_open.3
+++ b/lib/libkvm/kvm_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_open.3,v 1.13 2009/01/21 22:18:00 miod Exp $
+.\" $OpenBSD: kvm_open.3,v 1.14 2011/08/18 13:01:26 jmc Exp $
.\" $NetBSD: kvm_open.3,v 1.2 1996/03/18 22:33:52 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)kvm_open.3 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: January 21 2009 $
+.Dd $Mdocdate: August 18 2011 $
.Dt KVM_OPEN 3
.Os
.Sh NAME
@@ -188,13 +188,10 @@ function returns 0 on success and \-1 on failure.
.Sh SEE ALSO
.Xr open 2 ,
.Xr kvm 3 ,
-.Xr kvm_getargv 3 ,
-.Xr kvm_getenvv 3 ,
.Xr kvm_geterr 3 ,
.Xr kvm_getprocs 3 ,
.Xr kvm_nlist 3 ,
-.Xr kvm_read 3 ,
-.Xr kvm_write 3
+.Xr kvm_read 3
.Sh BUGS
There should not be two open calls.
The ill-defined error semantics of the Sun library and the desire to have
diff --git a/lib/libkvm/kvm_read.3 b/lib/libkvm/kvm_read.3
index 6c56a93d5ce..c20c3a270a8 100644
--- a/lib/libkvm/kvm_read.3
+++ b/lib/libkvm/kvm_read.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_read.3,v 1.7 2007/05/31 19:19:35 jmc Exp $
+.\" $OpenBSD: kvm_read.3,v 1.8 2011/08/18 13:01:26 jmc Exp $
.\" $NetBSD: kvm_read.3,v 1.2 1996/03/18 22:34:01 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)kvm_read.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 18 2011 $
.Dt KVM_READ 3
.Os
.Sh NAME
@@ -55,9 +55,7 @@ and
functions are used to read and write kernel virtual memory (or a crash
dump file).
See
-.Fn kvm_open 3
-or
-.Fn kvm_openfiles 3
+.Xr kvm_open 3
for information regarding opening kernel virtual memory and crash dumps.
.Pp
The
@@ -83,11 +81,7 @@ returned.
Otherwise, \-1 is returned.
.Sh SEE ALSO
.Xr kvm 3 ,
-.Xr kvm_close 3 ,
-.Xr kvm_getargv 3 ,
-.Xr kvm_getenvv 3 ,
.Xr kvm_geterr 3 ,
.Xr kvm_getprocs 3 ,
.Xr kvm_nlist 3 ,
-.Xr kvm_open 3 ,
-.Xr kvm_openfiles 3
+.Xr kvm_open 3