-.\" $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>
.\"
.\" 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
.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
-.\" $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,
.\" 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
.\" ----------------------------------------------------------------------
points an invalid or incomplete multibyte character.
The
.Fn mblen
-also sets
+function also sets
.Va errno
to indicate the error.
.El
.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
-.\" $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,
.Sh RETURN VALUES
The
.Fn mbrlen
-returns:
+function returns:
.Bl -tag -width "(size_t)-2"
.It "0"
.Fa s
-.\" $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,
.\" 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
.\" ----------------------------------------------------------------------
.Sh STANDARDS
The
.Fn mbsinit
-conforms to
+function conforms to
.\" .St -isoC-amd1 .
ISO/IEC 9899/AMD1:1995
.Pq Dq ISO C90, Amendment 1 .
-.\" $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,
.\" 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
.\" ----------------------------------------------------------------------
.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
-.\" $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,
.\" 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
.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
-.\" $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
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.
-.\" $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
.\" 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
.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 ,
-.\" $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.
.\" 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
.\"
.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.
.\" 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
.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
-.\" $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
.\"
.\" @(#)fcntl.2 8.2 (Berkeley) 1/12/94
.\"
-.Dd $Mdocdate: September 6 2019 $
+.Dd $Mdocdate: March 29 2022 $
.Dt FCNTL 2
.Os
.Sh NAME
.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
-.\" $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
.\" 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
.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
.\" 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
.Pp
The
.Fn fido_dev_force_pin_change
-instructs
+function instructs
.Fa dev
to require a PIN change.
Subsequent PIN authentication attempts against
.\" 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
.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
-.\" $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.
.\"
.\"
.\" 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
.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,
-.\" $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>.
.\" 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
.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 .
.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
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
-.\" $OpenBSD: queue.3,v 1.69 2022/03/29 14:27:59 naddy Exp $
+.\" $OpenBSD: queue.3,v 1.70 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: queue.3,v 1.4 1995/07/03 00:25:36 mycroft Exp $
.\"
.\" Copyright (c) 1993 The Regents of the University of California.
macros can be used to traverse the queue.
The
.Fn SIMPLEQ_FOREACH
-is used for queue traversal:
+macro is used for queue traversal:
.Bd -literal -offset indent
SIMPLEQ_FOREACH(np, head, FIELDNAME)
.Ed
.Pp
The
.Fn STAILQ_FOREACH
-is used for queue traversal:
+macro is used for queue traversal:
.Bd -literal -offset indent
STAILQ_FOREACH(np, head, FIELDNAME)
.Ed
-.\" $OpenBSD: ieee80211.9,v 1.14 2015/11/23 17:53:57 jmc Exp $
+.\" $OpenBSD: ieee80211.9,v 1.15 2022/03/29 18:15:52 naddy Exp $
.\"
.\" Copyright (c) 2004 Bruce M. Simpson <bms@spc.org>
.\" Copyright (c) 2004 Darron Broad <darron@kewl.org>
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD: src/share/man/man9/ieee80211.9,v 1.3 2004/07/07 12:59:39 ru Exp $
-.\" $Id: ieee80211.9,v 1.14 2015/11/23 17:53:57 jmc Exp $
+.\" $Id: ieee80211.9,v 1.15 2022/03/29 18:15:52 naddy Exp $
.\"
-.Dd $Mdocdate: November 23 2015 $
+.Dd $Mdocdate: March 29 2022 $
.Dt IEEE80211_IFATTACH 9
.Os
.Sh NAME
.Fa mode .
The
.Fn ieee80211_media2rate
-performs the reverse of this conversion, returning the bit rate (in 0.5Mbps
-units) corresponding to an
+function performs the reverse of this conversion,
+returning the bit rate (in 0.5Mbps units) corresponding to an
.Vt ifmedia
sub-type.
.Pp
-.\" $OpenBSD: ieee80211_input.9,v 1.4 2013/07/17 20:21:53 schwarze Exp $
+.\" $OpenBSD: ieee80211_input.9,v 1.5 2022/03/29 18:15:52 naddy Exp $
.\"
.\" Copyright (c) 2004 Bruce M. Simpson <bms@spc.org>
.\" Copyright (c) 2004 Darron Broad <darron@kewl.org>
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD: src/share/man/man9/ieee80211_input.9,v 1.2 2004/07/07 12:59:39 ru Exp $
-.\" $Id: ieee80211_input.9,v 1.4 2013/07/17 20:21:53 schwarze Exp $
+.\" $Id: ieee80211_input.9,v 1.5 2022/03/29 18:15:52 naddy Exp $
.\"
-.Dd $Mdocdate: July 17 2013 $
+.Dd $Mdocdate: March 29 2022 $
.Dt IEEE80211_INPUT 9
.Os
.Sh NAME
.\"
The
.Fn ieee80211_recv_mgmt
-performs input processing for 802.11 management frames.
+function performs input processing for 802.11 management frames.
It is typically called from within
.Fn ieee80211_input .
.\"
-.\" $OpenBSD: usbd_open_pipe.9,v 1.4 2016/06/27 23:38:01 jmatthew Exp $
+.\" $OpenBSD: usbd_open_pipe.9,v 1.5 2022/03/29 18:15:52 naddy Exp $
.\"
.\" Copyright (c) 2015 Sean Levy <attila@stalphonsos.com>
.\"
.\" 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 27 2016 $
+.Dd $Mdocdate: March 29 2022 $
.Dt USBD_OPEN_PIPE 9
.Os
.Sh NAME
.Pp
The
.Fn usbd_open_pipe_intr
-takes the following arguments:
+function takes the following arguments:
.Bl -tag -width callback
.It Fa iface
The USB interface for which the pipe is to be created.