summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2015-11-30 17:03:07 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2015-11-30 17:03:07 +0000
commitb0c7c04861827626ca0c8bb81ece585b174d4076 (patch)
treec4b3c2a0aebacbb711565c1987c85eb712495d83 /lib/libc
parente22ab36ca63cc43fe3c3d2502e265383e718baf0 (diff)
change Xrs from now-defunct db(3) to dbopen(3); this wasn;t a
straight replace: thanks both to schwarze and maja for feedback on how to rewrite parts; i've snuck in an rcs id->openbsd id change in dev_mkdb too;
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/db/man/dbm.312
-rw-r--r--lib/libc/db/man/ndbm.310
-rw-r--r--lib/libc/stdlib/bsearch.36
-rw-r--r--lib/libc/stdlib/lsearch.36
4 files changed, 17 insertions, 17 deletions
diff --git a/lib/libc/db/man/dbm.3 b/lib/libc/db/man/dbm.3
index 091e4731ae9..e7fb9032bad 100644
--- a/lib/libc/db/man/dbm.3
+++ b/lib/libc/db/man/dbm.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dbm.3,v 1.14 2015/11/10 23:48:17 jmc Exp $
+.\" $OpenBSD: dbm.3,v 1.15 2015/11/30 17:03:05 jmc Exp $
.\"
.\" Copyright (c) 1999 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 10 2015 $
+.Dd $Mdocdate: November 30 2015 $
.Dt DBMINIT 3
.Os
.Sh NAME
@@ -45,7 +45,7 @@
.Sh DESCRIPTION
These functions provide a dbm-compatible interface to the
database access methods described in
-.Xr db 3 .
+.Xr dbopen 3 .
Each unique record in the database is a key/content pair,
the components of which may be any arbitrary binary data.
The key and the content data are described by the
@@ -135,7 +135,7 @@ indicate errors by setting the
field to
.Dv NULL .
.Sh SEE ALSO
-.Xr db 3 ,
+.Xr dbopen 3 ,
.Xr hash 3 ,
.Xr ndbm 3
.Sh HISTORY
@@ -152,8 +152,8 @@ first appeared in
.Sh BUGS
Because the
.Nm dbm
-routines are implemented on top of
-.Xr db 3 ,
+routines are implemented on top of those described in
+.Xr dbopen 3 ,
only a single file,
.Pa file.pag ,
is used to actually store the database.
diff --git a/lib/libc/db/man/ndbm.3 b/lib/libc/db/man/ndbm.3
index c8d565e1b74..0e5fbadf6de 100644
--- a/lib/libc/db/man/ndbm.3
+++ b/lib/libc/db/man/ndbm.3
@@ -1,6 +1,6 @@
.\" David Leonard, 1998. Placed in the public domain.
-.\" $OpenBSD: ndbm.3,v 1.18 2015/11/10 23:48:17 jmc Exp $
-.Dd $Mdocdate: November 10 2015 $
+.\" $OpenBSD: ndbm.3,v 1.19 2015/11/30 17:03:05 jmc Exp $
+.Dd $Mdocdate: November 30 2015 $
.Dt DBM_OPEN 3
.Os
.Sh NAME
@@ -46,7 +46,7 @@
.Sh DESCRIPTION
These functions provide a ndbm-compatible interface to the
database access methods described in
-.Xr db 3 .
+.Xr dbopen 3 .
Each unique record in the database is a key/content pair,
the components of which may be any arbitrary binary data.
The key and the content data are described by the
@@ -202,9 +202,9 @@ and a record with the specified key already exists.
If an error occurs, the error can be retrieved with
.Fn dbm_error
and corresponds to those errors described in
-.Xr db 3 .
+.Xr dbopen 3 .
.Sh SEE ALSO
.Xr open 2 ,
-.Xr db 3 ,
.Xr dbm 3 ,
+.Xr dbopen 3 ,
.Xr hash 3
diff --git a/lib/libc/stdlib/bsearch.3 b/lib/libc/stdlib/bsearch.3
index 270086df36d..9c66eac0fea 100644
--- a/lib/libc/stdlib/bsearch.3
+++ b/lib/libc/stdlib/bsearch.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: bsearch.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
+.\" $OpenBSD: bsearch.3,v 1.10 2015/11/30 17:03:05 jmc Exp $
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: November 30 2015 $
.Dt BSEARCH 3
.Os
.Sh NAME
@@ -73,7 +73,7 @@ function returns a pointer to a matching member of the array, or a null
pointer if no match is found.
If two members compare as equal, which member is matched is unspecified.
.Sh SEE ALSO
-.Xr db 3 ,
+.Xr dbopen 3 ,
.Xr lsearch 3 ,
.Xr qsort 3 ,
.Xr tsearch 3
diff --git a/lib/libc/stdlib/lsearch.3 b/lib/libc/stdlib/lsearch.3
index a9deec155ae..d82c55c8594 100644
--- a/lib/libc/stdlib/lsearch.3
+++ b/lib/libc/stdlib/lsearch.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lsearch.3,v 1.13 2015/02/15 02:02:53 tedu Exp $
+.\" $OpenBSD: lsearch.3,v 1.14 2015/11/30 17:03:05 jmc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)lsearch.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: February 15 2015 $
+.Dd $Mdocdate: November 30 2015 $
.Dt LSEARCH 3
.Os
.Sh NAME
@@ -95,7 +95,7 @@ the location referenced by the argument
is incremented by one.
.Sh SEE ALSO
.Xr bsearch 3 ,
-.Xr db 3
+.Xr dbopen 3
.Sh STANDARDS
The
.Fn lsearch