Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/cdb Correct the documentation of cdbr_open_mem(3)



details:   https://anonhg.NetBSD.org/src/rev/9385bbc462b1
branches:  trunk
changeset: 994994:9385bbc462b1
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Dec 01 02:43:43 2018 +0000

description:
Correct the documentation of cdbr_open_mem(3)

Fix function prototype in the man-page.
Add link cdbr_open_mem(3) -> cdbr(3).

diffstat:

 distrib/sets/lists/comp/mi |  5 ++++-
 lib/libc/cdb/Makefile.inc  |  3 ++-
 lib/libc/cdb/cdbr.3        |  5 +++--
 3 files changed, 9 insertions(+), 4 deletions(-)

diffs (76 lines):

diff -r 6328fc0b17a0 -r 9385bbc462b1 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Sat Dec 01 02:08:16 2018 +0000
+++ b/distrib/sets/lists/comp/mi        Sat Dec 01 02:43:43 2018 +0000
@@ -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
diff -r 6328fc0b17a0 -r 9385bbc462b1 lib/libc/cdb/Makefile.inc
--- a/lib/libc/cdb/Makefile.inc Sat Dec 01 02:08:16 2018 +0000
+++ b/lib/libc/cdb/Makefile.inc Sat Dec 01 02:43:43 2018 +0000
@@ -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 @@
 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
diff -r 6328fc0b17a0 -r 9385bbc462b1 lib/libc/cdb/cdbr.3
--- a/lib/libc/cdb/cdbr.3       Sat Dec 01 02:08:16 2018 +0000
+++ b/lib/libc/cdb/cdbr.3       Sat Dec 01 02:43:43 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index