summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2022-03-29 18:15:53 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2022-03-29 18:15:53 +0000
commit8e6563cb8f33fb45e0e9aefe822926fd0278052a (patch)
tree6637a942b9c6a4a2400df617ea113dac1bde7745 /lib
parente4989fa16cf01cd656f995ff80494329387e8488 (diff)
man pages: add missing word, The foo() ... -> The foo() function ...
ok jmc@ schwarze@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/posix_spawn_file_actions_addopen.36
-rw-r--r--lib/libc/locale/mblen.38
-rw-r--r--lib/libc/locale/mbrlen.34
-rw-r--r--lib/libc/locale/mbsinit.36
-rw-r--r--lib/libc/locale/wcstombs.38
-rw-r--r--lib/libc/locale/wctomb.36
-rw-r--r--lib/libc/net/ether_aton.36
-rw-r--r--lib/libc/net/getifaddrs.36
-rw-r--r--lib/libc/net/inet6_opt_init.36
-rw-r--r--lib/libc/stdlib/rand.36
-rw-r--r--lib/libc/sys/fcntl.26
-rw-r--r--lib/libc/time/wcsftime.36
-rw-r--r--lib/libfido2/man/fido_dev_enable_entattest.34
-rw-r--r--lib/libfido2/man/fido_dev_info_manifest.34
-rw-r--r--lib/libm/man/acos.38
-rw-r--r--lib/libssl/man/SSL_CTX_sess_set_get_cb.311
16 files changed, 51 insertions, 50 deletions
diff --git a/lib/libc/gen/posix_spawn_file_actions_addopen.3 b/lib/libc/gen/posix_spawn_file_actions_addopen.3
index 835371c1bf9..7cfb7ef37eb 100644
--- a/lib/libc/gen/posix_spawn_file_actions_addopen.3
+++ b/lib/libc/gen/posix_spawn_file_actions_addopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: posix_spawn_file_actions_addopen.3,v 1.8 2014/11/30 02:41:43 schwarze Exp $
+.\" $OpenBSD: posix_spawn_file_actions_addopen.3,v 1.9 2022/03/29 18:15:52 naddy Exp $
.\"
.\" Copyright (c) 2012 Marc Espie <espie@openbsd.org>
.\"
@@ -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 30 2014 $
+.Dd $Mdocdate: March 29 2022 $
.Dt POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 3
.Os
.Sh NAME
@@ -70,7 +70,7 @@ equals
.It
The
.Fn posix_spawn_file_actions_addopen
-adds an action that causes
+function adds an action that causes
.Bd -literal -offset indent
open(path, oflag, mode);
.Ed
diff --git a/lib/libc/locale/mblen.3 b/lib/libc/locale/mblen.3
index 7ff46e57da7..4523500c891 100644
--- a/lib/libc/locale/mblen.3
+++ b/lib/libc/locale/mblen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mblen.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: mblen.3,v 1.4 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: mblen.3,v 1.4 2003/04/16 13:34:40 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: March 29 2022 $
.Dt MBLEN 3
.Os
.\" ----------------------------------------------------------------------
@@ -138,7 +138,7 @@ macro.
points an invalid or incomplete multibyte character.
The
.Fn mblen
-also sets
+function also sets
.Va errno
to indicate the error.
.El
@@ -159,7 +159,7 @@ The current encoding is state-dependent.
.Sh ERRORS
The
.Fn mblen
-may causes an error in the following case:
+function may cause an error in the following case:
.Bl -tag -width Er
.It Bq Er EILSEQ
.Fa s
diff --git a/lib/libc/locale/mbrlen.3 b/lib/libc/locale/mbrlen.3
index 6a2ac277115..2801edaee97 100644
--- a/lib/libc/locale/mbrlen.3
+++ b/lib/libc/locale/mbrlen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbrlen.3,v 1.5 2022/03/29 01:26:08 schwarze Exp $
+.\" $OpenBSD: mbrlen.3,v 1.6 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: mbrlen.3,v 1.5 2003/09/08 17:54:31 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -140,7 +140,7 @@ calls cause the internal state of this function to become indeterminate.
.Sh RETURN VALUES
The
.Fn mbrlen
-returns:
+function returns:
.Bl -tag -width "(size_t)-2"
.It "0"
.Fa s
diff --git a/lib/libc/locale/mbsinit.3 b/lib/libc/locale/mbsinit.3
index 897b46e8317..3e1787aba9f 100644
--- a/lib/libc/locale/mbsinit.3
+++ b/lib/libc/locale/mbsinit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbsinit.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: mbsinit.3,v 1.4 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: mbsinit.3,v 1.4 2003/04/16 13:34:40 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: March 29 2022 $
.Dt MBSINIT 3
.Os
.\" ----------------------------------------------------------------------
@@ -72,7 +72,7 @@ No errors are defined.
.Sh STANDARDS
The
.Fn mbsinit
-conforms to
+function conforms to
.\" .St -isoC-amd1 .
ISO/IEC 9899/AMD1:1995
.Pq Dq ISO C90, Amendment 1 .
diff --git a/lib/libc/locale/wcstombs.3 b/lib/libc/locale/wcstombs.3
index 685676892eb..fcef82a3552 100644
--- a/lib/libc/locale/wcstombs.3
+++ b/lib/libc/locale/wcstombs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wcstombs.3,v 1.7 2015/03/22 17:52:31 stsp Exp $
+.\" $OpenBSD: wcstombs.3,v 1.8 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: wcstombs.3,v 1.5 2003/09/08 17:54:32 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 22 2015 $
+.Dd $Mdocdate: March 29 2022 $
.Dt WCSTOMBS 3
.Os
.\" ----------------------------------------------------------------------
@@ -70,8 +70,8 @@ There are special cases:
.It s == NULL
The
.Fn wcstombs
-returns the number of bytes to store the whole multibyte character string
-corresponding to the wide-character string pointed to by
+function returns the number of bytes to store the whole multibyte
+character string corresponding to the wide-character string pointed to by
.Fa pwcs .
In this case,
.Fa n
diff --git a/lib/libc/locale/wctomb.3 b/lib/libc/locale/wctomb.3
index d0313dc6f72..32f9e65a9a5 100644
--- a/lib/libc/locale/wctomb.3
+++ b/lib/libc/locale/wctomb.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wctomb.3,v 1.6 2016/06/28 07:17:59 jmc Exp $
+.\" $OpenBSD: wctomb.3,v 1.7 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: wctomb.3,v 1.3 2003/04/16 13:34:41 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 28 2016 $
+.Dd $Mdocdate: March 29 2022 $
.Dt WCTOMB 3
.Os
.Sh NAME
@@ -38,7 +38,7 @@
.Sh DESCRIPTION
The
.Fn wctomb
-converts the wide character
+function converts the wide character
.Fa wchar
to the corresponding multibyte character, and stores it in the array
pointed to by
diff --git a/lib/libc/net/ether_aton.3 b/lib/libc/net/ether_aton.3
index 98beb5e4921..358d7eed034 100644
--- a/lib/libc/net/ether_aton.3
+++ b/lib/libc/net/ether_aton.3
@@ -1,8 +1,8 @@
-.\" $OpenBSD: ether_aton.3,v 1.1 2019/08/30 18:33:17 deraadt Exp $
+.\" $OpenBSD: ether_aton.3,v 1.2 2022/03/29 18:15:52 naddy Exp $
.\"
.\" Written by roland@frob.com. Public domain.
.\"
-.Dd $Mdocdate: August 30 2019 $
+.Dd $Mdocdate: March 29 2022 $
.Dt ETHER_ATON 3
.Os
.Sh NAME
@@ -48,7 +48,7 @@ by colons.
It returns a pointer to a static buffer that is reused for each call.
The
.Fn ether_aton
-converts an
+function converts an
.Tn ASCII
string of the same form and to a structure
containing the 6 octets of the address.
diff --git a/lib/libc/net/getifaddrs.3 b/lib/libc/net/getifaddrs.3
index 26eac493202..8ea08fa3da2 100644
--- a/lib/libc/net/getifaddrs.3
+++ b/lib/libc/net/getifaddrs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getifaddrs.3,v 1.22 2018/01/12 04:36:44 deraadt Exp $
+.\" $OpenBSD: getifaddrs.3,v 1.23 2022/03/29 18:15:52 naddy Exp $
.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
.\"
.\" Copyright (c) 1995, 1999
@@ -21,7 +21,7 @@
.\" LIABILITY, 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 $Mdocdate: January 12 2018 $
+.Dd $Mdocdate: March 29 2022 $
.Dt GETIFADDRS 3
.Os
.Sh NAME
@@ -122,7 +122,7 @@ when no longer needed.
.Sh ERRORS
The
.Fn getifaddrs
-may fail and set
+function may fail and set
.Va errno
for any of the errors specified for the library routines
.Xr ioctl 2 ,
diff --git a/lib/libc/net/inet6_opt_init.3 b/lib/libc/net/inet6_opt_init.3
index dd7ab53f6f5..fb4253aa2c7 100644
--- a/lib/libc/net/inet6_opt_init.3
+++ b/lib/libc/net/inet6_opt_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inet6_opt_init.3,v 1.6 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: inet6_opt_init.3,v 1.7 2022/03/29 18:15:52 naddy Exp $
.\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $
.\"
.\" Copyright (C) 2004 WIDE Project.
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: March 29 2022 $
.Dt INET6_OPT_INIT 3
.Os
.\"
@@ -160,7 +160,7 @@ alignments respectively.
.Ss inet6_opt_finish
The
.Fn inet6_opt_finish
-calculates the final padding necessary to make the extension header a
+function calculates the final padding necessary to make the extension header a
multiple of 8 bytes, as required by the IPv6 extension header
specification, and returns the extension header's updated total
length.
diff --git a/lib/libc/stdlib/rand.3 b/lib/libc/stdlib/rand.3
index 76278c871ab..cf7dde8536c 100644
--- a/lib/libc/stdlib/rand.3
+++ b/lib/libc/stdlib/rand.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: rand.3,v 1.20 2021/02/12 17:03:51 deraadt Exp $
+.\" $OpenBSD: rand.3,v 1.21 2022/03/29 18:15:52 naddy Exp $
.\"
-.Dd $Mdocdate: February 12 2021 $
+.Dd $Mdocdate: March 29 2022 $
.Dt RAND 3
.Os
.Sh NAME
@@ -94,7 +94,7 @@ was called, the result will be computed using the deterministic algorithm.
.Pp
The
.Fn rand_r
-is a thread-safe version of
+function is a thread-safe version of
.Fn rand .
Storage for the seed must be provided through the
.Fa seed
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index bb9277729c9..765eecb0f94 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fcntl.2,v 1.33 2019/09/06 08:39:27 asou Exp $
+.\" $OpenBSD: fcntl.2,v 1.34 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: fcntl.2,v 1.6 1995/02/27 12:32:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)fcntl.2 8.2 (Berkeley) 1/12/94
.\"
-.Dd $Mdocdate: September 6 2019 $
+.Dd $Mdocdate: March 29 2022 $
.Dt FCNTL 2
.Os
.Sh NAME
@@ -43,7 +43,7 @@
.Sh DESCRIPTION
The
.Fn fcntl
-provides control over the properties of a file that is already open.
+system call provides control over the properties of a file that is already open.
The argument
.Fa fd
is a descriptor to be operated on by
diff --git a/lib/libc/time/wcsftime.3 b/lib/libc/time/wcsftime.3
index 2c5ce8c8ca0..4c1964662a7 100644
--- a/lib/libc/time/wcsftime.3
+++ b/lib/libc/time/wcsftime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wcsftime.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
+.\" $OpenBSD: wcsftime.3,v 1.4 2022/03/29 18:15:52 naddy Exp $
.\" Copyright (c) 2011 Marc Espie <espie@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -13,7 +13,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: June 5 2013 $
+.Dd $Mdocdate: March 29 2022 $
.Dt WCSFTIME 3
.Os
.Sh NAME
@@ -26,7 +26,7 @@
.Sh DESCRIPTION
The
.Fn wcsftime
-is a wide char equivalent of
+function is a wide char equivalent of
.Xr strftime 3 .
.Sh SEE ALSO
.Xr strftime 3
diff --git a/lib/libfido2/man/fido_dev_enable_entattest.3 b/lib/libfido2/man/fido_dev_enable_entattest.3
index 366debf4e12..c059fa10fd4 100644
--- a/lib/libfido2/man/fido_dev_enable_entattest.3
+++ b/lib/libfido2/man/fido_dev_enable_entattest.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: October 26 2021 $
+.Dd $Mdocdate: March 29 2022 $
.Dt FIDO_DEV_ENABLE_ENTATTEST 3
.Os
.Sh NAME
@@ -62,7 +62,7 @@ does not have a PIN set.
.Pp
The
.Fn fido_dev_force_pin_change
-instructs
+function instructs
.Fa dev
to require a PIN change.
Subsequent PIN authentication attempts against
diff --git a/lib/libfido2/man/fido_dev_info_manifest.3 b/lib/libfido2/man/fido_dev_info_manifest.3
index a3b95c49cf1..7e0389ca621 100644
--- a/lib/libfido2/man/fido_dev_info_manifest.3
+++ b/lib/libfido2/man/fido_dev_info_manifest.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: February 7 2020 $
+.Dd $Mdocdate: March 29 2022 $
.Dt FIDO_DEV_INFO_MANIFEST 3
.Os
.Sh NAME
@@ -94,7 +94,7 @@ Please note that the first slot has index 0.
.Pp
The
.Fn fido_dev_info_path
-returns the filesystem path or subsystem-specific identification
+function returns the filesystem path or subsystem-specific identification
string of
.Fa di .
.Pp
diff --git a/lib/libm/man/acos.3 b/lib/libm/man/acos.3
index c6eedb7ceb7..c8410017753 100644
--- a/lib/libm/man/acos.3
+++ b/lib/libm/man/acos.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acos.3,v 1.16 2021/06/29 14:47:33 schwarze Exp $
+.\" $OpenBSD: acos.3,v 1.17 2022/03/29 18:15:52 naddy Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" from: @(#)acos.3 5.1 (Berkeley) 5/2/91
.\"
-.Dd $Mdocdate: June 29 2021 $
+.Dd $Mdocdate: March 29 2022 $
.Dt ACOS 3
.Os
.Sh NAME
@@ -53,11 +53,11 @@ in the range
.Bq 0 , pi .
The
.Fn acosf
-is a single precision version of
+function is a single precision version of
.Fn acos .
The
.Fn acosl
-is an extended precision version of
+function is an extended precision version of
.Fn acos .
.Sh RETURN VALUES
If |x|>1,
diff --git a/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 b/lib/libssl/man/SSL_CTX_sess_set_get_cb.3
index 5b2b4ba9da4..e99f2be6717 100644
--- a/lib/libssl/man/SSL_CTX_sess_set_get_cb.3
+++ b/lib/libssl/man/SSL_CTX_sess_set_get_cb.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: SSL_CTX_sess_set_get_cb.3,v 1.6 2018/04/25 14:07:57 schwarze Exp $
+.\" $OpenBSD: SSL_CTX_sess_set_get_cb.3,v 1.7 2022/03/29 18:15:52 naddy Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>.
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 25 2018 $
+.Dd $Mdocdate: March 29 2022 $
.Dt SSL_CTX_SESS_SET_GET_CB 3
.Os
.Sh NAME
@@ -151,7 +151,7 @@ caching is enabled (see
.Xr SSL_CTX_set_session_cache_mode 3 ) .
The
.Fn new_session_cb
-is passed the
+function is passed the
.Fa ssl
connection and the ssl session
.Fa sess .
@@ -159,7 +159,8 @@ If the callback returns 0, the session will be immediately removed again.
.Pp
The
.Fn remove_session_cb
-is called whenever the SSL engine removes a session from the internal cache.
+function is called whenever the SSL engine removes a session from the
+internal cache.
This happens when the session is removed because it is expired or when a
connection was not shut down cleanly.
It also happens for all sessions in the internal session cache when
@@ -184,7 +185,7 @@ The
function is always called, also when session caching was disabled.
The
.Fn get_session_cb
-is passed the
+function is passed the
.Fa ssl
connection, the session id of length
.Fa length