Correct the documentation of cdbr_open_mem(3)

Fix function prototype in the man-page.
Add link cdbr_open_mem(3) -> cdbr(3).
This commit is contained in:
kamil 2018-12-01 02:43:43 +00:00
parent e729398197
commit cfb2a8fe4d
3 changed files with 9 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.2239 2018/11/19 01:08:21 uwe Exp $
# $NetBSD: mi,v 1.2240 2018/12/01 02:43:43 kamil Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@ -6064,6 +6064,7 @@
./usr/share/man/cat3/cdbr_find.0 comp-c-catman .cat
./usr/share/man/cat3/cdbr_get.0 comp-c-catman .cat
./usr/share/man/cat3/cdbr_open.0 comp-c-catman .cat
./usr/share/man/cat3/cdbr_open_mem.0 comp-c-catman .cat
./usr/share/man/cat3/cdbw.0 comp-c-catman .cat
./usr/share/man/cat3/cdbw_close.0 comp-c-catman .cat
./usr/share/man/cat3/cdbw_open.0 comp-c-catman .cat
@ -14013,6 +14014,7 @@
./usr/share/man/html3/cdbr_find.html comp-c-htmlman html
./usr/share/man/html3/cdbr_get.html comp-c-htmlman html
./usr/share/man/html3/cdbr_open.html comp-c-htmlman html
./usr/share/man/html3/cdbr_open_mem.html comp-c-htmlman html
./usr/share/man/html3/cdbw.html comp-c-htmlman html
./usr/share/man/html3/cdbw_close.html comp-c-htmlman html
./usr/share/man/html3/cdbw_open.html comp-c-htmlman html
@ -21820,6 +21822,7 @@
./usr/share/man/man3/cdbr_find.3 comp-c-man .man
./usr/share/man/man3/cdbr_get.3 comp-c-man .man
./usr/share/man/man3/cdbr_open.3 comp-c-man .man
./usr/share/man/man3/cdbr_open_mem.3 comp-c-man .man
./usr/share/man/man3/cdbw.3 comp-c-man .man
./usr/share/man/man3/cdbw_close.3 comp-c-man .man
./usr/share/man/man3/cdbw_open.3 comp-c-man .man

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.3 2013/12/11 01:24:08 joerg Exp $
# $NetBSD: Makefile.inc,v 1.4 2018/12/01 02:43:43 kamil Exp $
# Constant database reader/writer
@ -10,6 +10,7 @@ SRCS+= cdbr.c cdbw.c
MAN+= cdbr.3 cdbw.3 cdb.5
MLINKS+= cdbr.3 cdbr_open.3
MLINKS+= cdbr.3 cdbr_open_mem.3
MLINKS+= cdbr.3 cdbr_entries.3
MLINKS+= cdbr.3 cdbr_get.3
MLINKS+= cdbr.3 cdbr_find.3

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cdbr.3,v 1.5 2017/10/24 17:01:15 abhinav Exp $
.\" $NetBSD: cdbr.3,v 1.6 2018/12/01 02:43:43 kamil Exp $
.\"
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -28,7 +28,7 @@
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.Dd October 24, 2017
.Dd December 1, 2018
.Dt CDBR 3
.Os
.Sh NAME
@ -47,6 +47,7 @@
.Fo cdbr_open_mem
.Fa "void *base"
.Fa "size_t size"
.Fa "int flags"
.Fa "void (*unmap)(void *, void *, size_t)"
.Fa "void *cookie"
.Fc