Module Name: src
Committed By: rillig
Date: Sun Oct 13 14:56:31 UTC 2024
Modified Files:
src/lib/libbluetooth: sdp.3
src/lib/libc/locale: wcsrtombs.3
src/lib/libc/stdio: funopen.3
src/lib/libcurses: curses_window.3
src/lib/libp2k: p2k.3
src/lib/libutil: opendisk.3
Log Message:
lib: sync some manual pages with reality
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libbluetooth/sdp.3
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/locale/wcsrtombs.3
cvs rdiff -u -r1.25 -r1.26 src/lib/libc/stdio/funopen.3
cvs rdiff -u -r1.16 -r1.17 src/lib/libcurses/curses_window.3
cvs rdiff -u -r1.12 -r1.13 src/lib/libp2k/p2k.3
cvs rdiff -u -r1.16 -r1.17 src/lib/libutil/opendisk.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libbluetooth/sdp.3
diff -u src/lib/libbluetooth/sdp.3:1.4 src/lib/libbluetooth/sdp.3:1.5
--- src/lib/libbluetooth/sdp.3:1.4 Thu Mar 15 19:04:46 2012
+++ src/lib/libbluetooth/sdp.3 Sun Oct 13 14:56:30 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: sdp.3,v 1.4 2012/03/15 19:04:46 njoly Exp $
+.\" $NetBSD: sdp.3,v 1.5 2024/10/13 14:56:30 rillig Exp $
.\"
.\" Copyright (c) 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 7, 2009
+.Dd October 13, 2024
.Dt SDP 3
.Os
.Sh NAME
@@ -53,19 +53,19 @@
.Fn sdp_close "sdp_session_t ss"
.Ft bool
.Fo sdp_service_search
-.Fa "sdp_session_t ss" "sdp_data_t *ssp" "uint32_t *handlep" "int *num"
+.Fa "sdp_session_t ss" "const sdp_data_t *ssp" "uint32_t *handlep" "int *num"
.Fc
.Ft bool
.Fo sdp_service_attribute
-.Fa "sdp_session_t ss" "uint32_t handle" "sdp_data_t *ail" "sdp_data_t *response"
+.Fa "sdp_session_t ss" "uint32_t handle" "const sdp_data_t *ail" "sdp_data_t *response"
.Fc
.Ft bool
.Fo sdp_service_search_attribute
-.Fa "sdp_session_t ss" "sdp_data_t *ssp" "sdp_data_t *ail" "sdp_data_t *response"
+.Fa "sdp_session_t ss" "const sdp_data_t *ssp" "const sdp_data_t *ail" "sdp_data_t *response"
.Fc
.Ft bool
.Fo sdp_record_insert
-.Fa "sdp_session_t ss" "bdaddr_t *bdaddr" "uint32_t *handlep" "sdp_data_t *record"
+.Fa "sdp_session_t ss" "bdaddr_t *bdaddr" "uint32_t *handlep" "const sdp_data_t *record"
.Fc
.Ft bool
.Fn sdp_record_update "sdp_session_t ss" "uint32_t handle" "sdp_data_t *record"
Index: src/lib/libc/locale/wcsrtombs.3
diff -u src/lib/libc/locale/wcsrtombs.3:1.17 src/lib/libc/locale/wcsrtombs.3:1.18
--- src/lib/libc/locale/wcsrtombs.3:1.17 Tue Sep 10 04:43:39 2024
+++ src/lib/libc/locale/wcsrtombs.3 Sun Oct 13 14:56:30 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: wcsrtombs.3,v 1.17 2024/09/10 04:43:39 rillig Exp $
+.\" $NetBSD: wcsrtombs.3,v 1.18 2024/10/13 14:56:30 rillig Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd August 27, 2017
+.Dd October 13, 2024
.Dt WCSRTOMBS 3
.Os
.\" ----------------------------------------------------------------------
@@ -55,7 +55,7 @@
.Fa "const wchar_t ** restrict pwcs"
.Fa "size_t nwc"
.Fa "size_t n"
-.Fa "mbstat_t * restrict ps"
+.Fa "mbstate_t * restrict ps"
.Fc
.
.\" ----------------------------------------------------------------------
Index: src/lib/libc/stdio/funopen.3
diff -u src/lib/libc/stdio/funopen.3:1.25 src/lib/libc/stdio/funopen.3:1.26
--- src/lib/libc/stdio/funopen.3:1.25 Thu Mar 21 21:13:45 2019
+++ src/lib/libc/stdio/funopen.3 Sun Oct 13 14:56:30 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: funopen.3,v 1.25 2019/03/21 21:13:45 uwe Exp $
+.\" $NetBSD: funopen.3,v 1.26 2024/10/13 14:56:30 rillig Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\"
.\" @(#)funopen.3 8.1 (Berkeley) 6/9/93
.\"
-.Dd March 16, 2012
+.Dd October 13, 2024
.Dt FUNOPEN 3
.Os
.Sh NAME
@@ -48,7 +48,7 @@
.In stdio.h
.Ft FILE *
.Fo funopen
-.Fa "void *cookie"
+.Fa "const void *cookie"
.Fa "int (*readfn)(void *, char *, int)"
.Fa "int (*writefn)(void *, const char *, int)"
.Fa "off_t (*seekfn)(void *, off_t, int)"
@@ -56,7 +56,7 @@
.Fc
.Ft FILE *
.Fo funopen2
-.Fa "void *cookie"
+.Fa "const void *cookie"
.Fa "ssize_t (*readfn)(void *, void *, size_t)"
.Fa "ssize_t (*writefn)(void *, const void *, size_t)"
.Fa "off_t (*seekfn)(void *, off_t, int)"
Index: src/lib/libcurses/curses_window.3
diff -u src/lib/libcurses/curses_window.3:1.16 src/lib/libcurses/curses_window.3:1.17
--- src/lib/libcurses/curses_window.3:1.16 Tue Oct 15 22:15:17 2013
+++ src/lib/libcurses/curses_window.3 Sun Oct 13 14:56:30 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: curses_window.3,v 1.16 2013/10/15 22:15:17 roy Exp $
+.\" $NetBSD: curses_window.3,v 1.17 2024/10/13 14:56:30 rillig Exp $
.\"
.\" Copyright (c) 2002
.\" Brett Lymn ([email protected], [email protected])
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd October 15, 2013
+.Dd October 13, 2024
.Dt CURSES_WINDOW 3
.Os
.Sh NAME
@@ -53,7 +53,7 @@
.In curses.h
.Ft int
.Fo copywin
-.Fa "WINDOW *source"
+.Fa "const WINDOW *source"
.Fa "WINDOW *dest"
.Fa "int sminrow"
.Fa "int smincol"
Index: src/lib/libp2k/p2k.3
diff -u src/lib/libp2k/p2k.3:1.12 src/lib/libp2k/p2k.3:1.13
--- src/lib/libp2k/p2k.3:1.12 Mon Jul 11 19:24:56 2022
+++ src/lib/libp2k/p2k.3 Sun Oct 13 14:56:30 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: p2k.3,v 1.12 2022/07/11 19:24:56 andvar Exp $
+.\" $NetBSD: p2k.3,v 1.13 2024/10/13 14:56:30 rillig Exp $
.\"
.\" Copyright (c) 2008 Antti Kantee. All rights reserved.
.\"
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd July 11, 2022
+.Dd October 13, 2024
.Dt P2K 3
.Os
.Sh NAME
@@ -42,9 +42,10 @@ p2k Library (libp2k, \-lp2k)
.Fa "struct p2k_mount *p2m" "const char *vfsname" "const char *devpath"
.Fa "const char *mountpath" "int mntflags" "void *arg" "size_t alen"
.Fc
+.Ft int
.Fo p2k_setup_diskfs
.Fa "struct p2k_mount *p2m" "const char *vfsname" "const char *devpath"
-.Fa "int partition" "const char *mountpath" "int mntflags"
+.Fa "struct ukfs_part *part" "const char *mountpath" "int mntflags"
.Fa "void *arg" "size_t alen"
.Fc
.Ft int
@@ -56,7 +57,7 @@ p2k Library (libp2k, \-lp2k)
.Fc
.Ft int
.Fo p2k_run_diskfs
-.Fa "const char *vfsname" "const char *devpath" "int partition"
+.Fa "const char *vfsname" "const char *devpath" "struct ukfs_part *part"
.Fa "const char *mountpath" "int mntflags" "void *arg" "size_t alen"
.Fa "uint32_t puffs_flags"
.Fc
Index: src/lib/libutil/opendisk.3
diff -u src/lib/libutil/opendisk.3:1.16 src/lib/libutil/opendisk.3:1.17
--- src/lib/libutil/opendisk.3:1.16 Thu Apr 5 11:07:00 2018
+++ src/lib/libutil/opendisk.3 Sun Oct 13 14:56:31 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: opendisk.3,v 1.16 2018/04/05 11:07:00 wiz Exp $
+.\" $NetBSD: opendisk.3,v 1.17 2024/10/13 14:56:31 rillig Exp $
.\"
.\" Copyright (c) 1997, 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd April 4, 2018
+.Dd October 13, 2024
.Dt OPENDISK 3
.Os
.Sh NAME
@@ -53,7 +53,7 @@
.Fa "char *buf"
.Fa "size_t buflen"
.Fa "int iscooked"
-.Fa "int (*ofn)(const char *, int, ...))"
+.Fa "int (*ofn)(const char *, int, ...)"
.Fc
.Sh DESCRIPTION
.Fn opendisk