From 3e268b5d835a2d2ed944b2e03c9cc7f178765bb3 Mon Sep 17 00:00:00 2001
From: jmc <>
Date: Sun, 11 Sep 2022 06:38:11 +0000
Subject: .Li -> .Vt where appropriate; from josiah frentsos, tweaked by
 schwarze

ok schwarze
---
 src/lib/libc/net/ether_aton.3     |  6 +++---
 src/lib/libc/net/getaddrinfo.3    | 30 +++++++++++++++---------------
 src/lib/libc/net/getnameinfo.3    | 12 ++++++------
 src/lib/libc/net/getpeereid.3     |  8 ++++----
 src/lib/libc/net/getrrsetbyname.3 | 18 +++++++++---------
 src/lib/libc/net/htonl.3          | 13 +++++--------
 src/lib/libc/net/inet_addr.3      |  6 +++---
 src/lib/libc/net/inet_net_ntop.3  |  8 ++++----
 src/lib/libc/net/inet_ntop.3      |  6 +++---
 src/lib/libc/stdlib/atof.3        |  6 +++---
 src/lib/libc/stdlib/atoi.3        |  6 +++---
 src/lib/libc/stdlib/atol.3        |  6 +++---
 src/lib/libc/stdlib/atoll.3       |  6 +++---
 src/lib/libc/stdlib/div.3         |  6 +++---
 src/lib/libc/stdlib/getopt_long.3 |  6 +++---
 src/lib/libc/stdlib/imaxdiv.3     |  8 ++++----
 src/lib/libc/stdlib/ldiv.3        |  8 ++++----
 src/lib/libc/stdlib/lldiv.3       |  8 ++++----
 src/lib/libc/stdlib/strtod.3      | 10 +++++-----
 src/lib/libc/stdlib/strtonum.3    |  8 ++++----
 src/lib/libc/string/memccpy.3     |  6 +++---
 src/lib/libc/string/memchr.3      |  6 +++---
 src/lib/libc/string/memcmp.3      |  6 +++---
 src/lib/libc/string/memset.3      |  6 +++---
 24 files changed, 103 insertions(+), 106 deletions(-)

(limited to 'src/lib')

diff --git a/src/lib/libc/net/ether_aton.3 b/src/lib/libc/net/ether_aton.3
index 358d7eed03..98562dc44c 100644
--- a/src/lib/libc/net/ether_aton.3
+++ b/src/lib/libc/net/ether_aton.3
@@ -1,8 +1,8 @@
-.\"	$OpenBSD: ether_aton.3,v 1.2 2022/03/29 18:15:52 naddy Exp $
+.\"	$OpenBSD: ether_aton.3,v 1.3 2022/09/11 06:38:10 jmc Exp $
 .\"
 .\" Written by roland@frob.com.  Public domain.
 .\"
-.Dd $Mdocdate: March 29 2022 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt ETHER_ATON 3
 .Os
 .Sh NAME
@@ -86,7 +86,7 @@ The
 function parses a line from the
 .Pa /etc/ethers
 file and fills in the passed
-.Li struct ether_addr
+.Vt struct ether_addr
 and character buffer with the Ethernet address and host name on the line.
 It returns zero if the line was successfully parsed and \-1 if not.
 The character buffer should be
diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3
index 035db2780b..780c7a409f 100644
--- a/src/lib/libc/net/getaddrinfo.3
+++ b/src/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: getaddrinfo.3,v 1.60 2022/03/31 17:27:16 naddy Exp $
+.\"	$OpenBSD: getaddrinfo.3,v 1.61 2022/09/11 06:38:10 jmc Exp $
 .\"	$KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $
 .\"
 .\" Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
@@ -16,7 +16,7 @@
 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 .\" PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt GETADDRINFO 3
 .Os
 .Sh NAME
@@ -68,7 +68,7 @@ must be non-null.
 .Pp
 .Fa hints
 is an optional pointer to a
-.Li struct addrinfo ,
+.Vt struct addrinfo ,
 as defined by
 .In netdb.h :
 .Bd -literal
@@ -139,7 +139,7 @@ will return a NUL-terminated string containing the canonical name
 of the specified host name in the
 .Fa ai_canonname
 element of the first
-.Li addrinfo
+.Vt addrinfo
 structure returned.
 .It Dv AI_FQDN
 If the
@@ -150,7 +150,7 @@ will return a NUL-terminated string containing the fully qualified domain name
 of the specified host name in the
 .Fa ai_canonname
 element of the first
-.Li addrinfo
+.Vt addrinfo
 structure returned.
 .Pp
 This is different from the
@@ -215,7 +215,7 @@ is not set.
 .El
 .Pp
 All other elements of the
-.Li addrinfo
+.Vt addrinfo
 structure passed via
 .Fa hints
 must be zero or the null pointer.
@@ -225,7 +225,7 @@ If
 is the null pointer,
 .Fn getaddrinfo
 behaves as if the caller provided a
-.Li struct addrinfo
+.Vt struct addrinfo
 with
 .Fa ai_family
 set to
@@ -240,12 +240,12 @@ After a successful call to
 .Fn getaddrinfo ,
 .Fa *res
 is a pointer to a linked list of one or more
-.Li addrinfo
+.Vt addrinfo
 structures.
 The list can be traversed by following the
 .Fa ai_next
 pointer in each
-.Li addrinfo
+.Vt addrinfo
 structure until a null pointer is encountered.
 The three members
 .Fa ai_family ,
@@ -253,11 +253,11 @@ The three members
 and
 .Fa ai_protocol
 in each returned
-.Li addrinfo
+.Vt addrinfo
 structure are suitable for a call to
 .Xr socket 2 .
 For each
-.Li addrinfo
+.Vt addrinfo
 structure in the list, the
 .Fa ai_addr
 member points to a filled-in socket address structure of length
@@ -298,10 +298,10 @@ the interface and link, which is not necessarily true from the specification.
 All of the information returned by
 .Fn getaddrinfo
 is dynamically allocated: the
-.Li addrinfo
+.Vt addrinfo
 structures themselves as well as the socket address structures and
 the canonical host name strings included in the
-.Li addrinfo
+.Vt addrinfo
 structures.
 .Pp
 Memory allocated for the dynamically allocated structures created by
@@ -313,7 +313,7 @@ function.
 The
 .Fa ai
 pointer should be an
-.Li addrinfo
+.Vt addrinfo
 structure created by a call to
 .Fn getaddrinfo .
 .Sh RETURN VALUES
@@ -324,7 +324,7 @@ if an error occurs.
 If an error occurs, no memory is allocated by
 .Fn getaddrinfo ,
 therefore it is not necessary to release the
-.Li addrinfo
+.Vt addrinfo
 structure(s).
 .Sh EXAMPLES
 The following code tries to connect to
diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3
index 18c2cdc075..4e97b5d07b 100644
--- a/src/lib/libc/net/getnameinfo.3
+++ b/src/lib/libc/net/getnameinfo.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: getnameinfo.3,v 1.48 2019/08/30 20:20:51 jmc Exp $
+.\"	$OpenBSD: getnameinfo.3,v 1.49 2022/09/11 06:38:10 jmc Exp $
 .\"	$KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $
 .\"
 .\" Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
@@ -16,7 +16,7 @@
 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 .\" PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd $Mdocdate: August 30 2019 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt GETNAMEINFO 3
 .Os
 .Sh NAME
@@ -33,7 +33,7 @@
 The
 .Fn getnameinfo
 function is used to convert a
-.Li sockaddr
+.Vt sockaddr
 structure to a pair of host name and service strings.
 It is a replacement for and provides more flexibility than the
 .Xr gethostbyaddr 3
@@ -44,13 +44,13 @@ functions and is the converse of the
 function.
 .Pp
 The
-.Li sockaddr
+.Vt sockaddr
 structure
 .Fa sa
 should point to either a
-.Li sockaddr_in
+.Vt sockaddr_in
 or
-.Li sockaddr_in6
+.Vt sockaddr_in6
 structure (for IPv4 or IPv6 respectively) that is
 .Fa salen
 bytes long.
diff --git a/src/lib/libc/net/getpeereid.3 b/src/lib/libc/net/getpeereid.3
index 9c5742a245..4475bbd77d 100644
--- a/src/lib/libc/net/getpeereid.3
+++ b/src/lib/libc/net/getpeereid.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: getpeereid.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
+.\"	$OpenBSD: getpeereid.3,v 1.4 2022/09/11 06:38:10 jmc Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -26,7 +26,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: June 5 2013 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt GETPEEREID 3
 .Os
 .Sh NAME
@@ -65,13 +65,13 @@ should be looked up.
 .It
 .Fa euid
 points to a
-.Li uid_t
+.Vt uid_t
 variable into which the effective user ID for the connected peer will
 be stored.
 .It
 .Fa egid
 points to a
-.Li gid_t
+.Vt gid_t
 variable into which the effective group ID for the connected peer will
 be stored.
 .El
diff --git a/src/lib/libc/net/getrrsetbyname.3 b/src/lib/libc/net/getrrsetbyname.3
index d0acb60238..314f31665c 100644
--- a/src/lib/libc/net/getrrsetbyname.3
+++ b/src/lib/libc/net/getrrsetbyname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getrrsetbyname.3,v 1.21 2019/08/30 20:20:51 jmc Exp $
+.\" $OpenBSD: getrrsetbyname.3,v 1.22 2022/09/11 06:38:10 jmc Exp $
 .\"
 .\" Copyright (C) 2000, 2001  Internet Software Consortium.
 .\"
@@ -15,7 +15,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd $Mdocdate: August 30 2019 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt GETRRSETBYNAME 3
 .Os
 .Sh NAME
@@ -46,11 +46,11 @@ After a successful call to
 .Fn getrrsetbyname ,
 .Fa *res
 is a pointer to an
-.Li rrsetinfo
+.Vt rrsetinfo
 structure, containing a list of one or more
-.Li rdatainfo
+.Vt rdatainfo
 structures containing resource records and potentially another list of
-.Li rdatainfo
+.Vt rdatainfo
 structures containing SIG resource records associated with those records.
 The members
 .Li rri_rdclass
@@ -97,12 +97,12 @@ struct  rrsetinfo {
 All of the information returned by
 .Fn getrrsetbyname
 is dynamically allocated: the
-.Li rrsetinfo
+.Vt rrsetinfo
 and
-.Li rdatainfo
+.Vt rdatainfo
 structures,
 and the canonical host name strings pointed to by the
-.Li rrsetinfo
+.Vt rrsetinfo
 structure.
 Memory allocated for the dynamically allocated structures created by
 a successful call to
@@ -111,7 +111,7 @@ is released by
 .Fn freerrset .
 .Li rrset
 is a pointer to a
-.Li struct rrsetinfo
+.Vt struct rrsetinfo
 created by a call to
 .Fn getrrsetbyname .
 .\" .Pp
diff --git a/src/lib/libc/net/htonl.3 b/src/lib/libc/net/htonl.3
index a63959717a..65fa9a53b5 100644
--- a/src/lib/libc/net/htonl.3
+++ b/src/lib/libc/net/htonl.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: htonl.3,v 1.5 2019/02/13 07:02:09 jmc Exp $
+.\"	$OpenBSD: htonl.3,v 1.6 2022/09/11 06:38:10 jmc Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -27,7 +27,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd $Mdocdate: February 13 2019 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt HTONL 3
 .Os
 .Sh NAME
@@ -66,14 +66,11 @@ or
 .Sq l )
 is a mnemonic
 for the traditional names for such quantities,
-.Li short
-and
-.Li long ,
-respectively.
+short and long, respectively.
 Today, the C concept of
-.Li short
+.Vt short
 and
-.Li long
+.Vt long
 integers need not coincide with this traditional misunderstanding.
 On machines which have a byte order which is the same as the network
 order, routines are defined as null macros.
diff --git a/src/lib/libc/net/inet_addr.3 b/src/lib/libc/net/inet_addr.3
index 129b08d277..dec5a2ec16 100644
--- a/src/lib/libc/net/inet_addr.3
+++ b/src/lib/libc/net/inet_addr.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: inet_addr.3,v 1.5 2019/08/30 20:06:07 jmc Exp $
+.\"	$OpenBSD: inet_addr.3,v 1.6 2022/09/11 06:38:10 jmc Exp $
 .\"	$NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1991, 1993
@@ -30,7 +30,7 @@
 .\"
 .\"     @(#)inet.3	8.1 (Berkeley) 6/4/93
 .\"
-.Dd $Mdocdate: August 30 2019 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt INET_ADDR 3
 .Os
 .Sh NAME
@@ -179,7 +179,7 @@ cannot return that value without indicating failure.
 Also,
 .Fn inet_addr
 should have been designed to return a
-.Li struct in_addr .
+.Vt struct in_addr .
 The newer
 .Fn inet_aton
 function does not share these problems, and almost all existing code
diff --git a/src/lib/libc/net/inet_net_ntop.3 b/src/lib/libc/net/inet_net_ntop.3
index cac234be42..4212af3bb6 100644
--- a/src/lib/libc/net/inet_net_ntop.3
+++ b/src/lib/libc/net/inet_net_ntop.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: inet_net_ntop.3,v 1.3 2022/03/31 17:27:16 naddy Exp $
+.\"	$OpenBSD: inet_net_ntop.3,v 1.4 2022/09/11 06:38:10 jmc Exp $
 .\"	$NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $
 .\"
 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt INET_NET_NTOP 3
 .Os
 .Sh NAME
@@ -46,7 +46,7 @@
 The
 .Fn inet_net_ntop
 function converts an Internet network number from network format (usually a
-.Li struct in_addr
+.Vt struct in_addr
 or some other binary form, in network byte order) to CIDR presentation format
 (suitable for external display purposes).
 .Fa bits
@@ -63,7 +63,7 @@ The
 .Fn inet_net_pton
 function converts a presentation format Internet network number (that is,
 printable form as held in a character string) to network format (usually a
-.Li struct in_addr
+.Vt struct in_addr
 or some other internal binary representation, in network byte order).
 It returns the number of bits (either computed based on the class, or
 specified with /CIDR), or \-1 if a failure occurred
diff --git a/src/lib/libc/net/inet_ntop.3 b/src/lib/libc/net/inet_ntop.3
index c80b0c4776..e5c1c574f8 100644
--- a/src/lib/libc/net/inet_ntop.3
+++ b/src/lib/libc/net/inet_ntop.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: inet_ntop.3,v 1.5 2021/09/01 15:59:22 claudio Exp $
+.\"	$OpenBSD: inet_ntop.3,v 1.6 2022/09/11 06:38:10 jmc Exp $
 .\"	$NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1991, 1993
@@ -30,7 +30,7 @@
 .\"
 .\"     @(#)inet.3	8.1 (Berkeley) 6/4/93
 .\"
-.Dd $Mdocdate: September 1 2021 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt INET_NTOP 3
 .Os
 .Sh NAME
@@ -49,7 +49,7 @@ The
 .Fn inet_pton
 function converts a presentation format address (that is, printable form
 as held in a character string) to network format (usually a
-.Li struct in_addr
+.Vt struct in_addr
 or some other internal binary representation, in network byte order).
 It returns 1 if the address was valid for the specified address family;
 0 if the address wasn't parseable in the specified address family; or \-1
diff --git a/src/lib/libc/stdlib/atof.3 b/src/lib/libc/stdlib/atof.3
index 183f22d358..7d1f09d1a4 100644
--- a/src/lib/libc/stdlib/atof.3
+++ b/src/lib/libc/stdlib/atof.3
@@ -29,9 +29,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	$OpenBSD: atof.3,v 1.9 2019/01/16 12:55:49 schwarze Exp $
+.\"	$OpenBSD: atof.3,v 1.10 2022/09/11 06:38:11 jmc Exp $
 .\"
-.Dd $Mdocdate: January 16 2019 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt ATOF 3
 .Os
 .Sh NAME
@@ -47,7 +47,7 @@ The
 function converts the initial portion of the string pointed to by
 .Fa nptr
 to
-.Li double
+.Vt double
 representation.
 .Pp
 It is equivalent to:
diff --git a/src/lib/libc/stdlib/atoi.3 b/src/lib/libc/stdlib/atoi.3
index 0cd90ccffb..92d8de93a6 100644
--- a/src/lib/libc/stdlib/atoi.3
+++ b/src/lib/libc/stdlib/atoi.3
@@ -29,9 +29,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	$OpenBSD: atoi.3,v 1.12 2015/09/10 15:16:43 schwarze Exp $
+.\"	$OpenBSD: atoi.3,v 1.13 2022/09/11 06:38:11 jmc Exp $
 .\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt ATOI 3
 .Os
 .Sh NAME
@@ -47,7 +47,7 @@ The
 function converts the initial portion of the string pointed to by
 .Fa nptr
 to
-.Li integer
+.Vt integer
 representation.
 .Pp
 It is equivalent to:
diff --git a/src/lib/libc/stdlib/atol.3 b/src/lib/libc/stdlib/atol.3
index c80f61f754..f67ca7da6c 100644
--- a/src/lib/libc/stdlib/atol.3
+++ b/src/lib/libc/stdlib/atol.3
@@ -29,9 +29,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	$OpenBSD: atol.3,v 1.10 2015/09/10 15:16:43 schwarze Exp $
+.\"	$OpenBSD: atol.3,v 1.11 2022/09/11 06:38:11 jmc Exp $
 .\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt ATOL 3
 .Os
 .Sh NAME
@@ -47,7 +47,7 @@ The
 function converts the initial portion of the string pointed to by
 .Fa nptr
 to
-.Li long integer
+.Vt long integer
 representation.
 .Pp
 It is equivalent to:
diff --git a/src/lib/libc/stdlib/atoll.3 b/src/lib/libc/stdlib/atoll.3
index 0cf8e40f8e..c2b606dda9 100644
--- a/src/lib/libc/stdlib/atoll.3
+++ b/src/lib/libc/stdlib/atoll.3
@@ -29,9 +29,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	$OpenBSD: atoll.3,v 1.8 2015/09/10 15:16:43 schwarze Exp $
+.\"	$OpenBSD: atoll.3,v 1.9 2022/09/11 06:38:11 jmc Exp $
 .\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt ATOLL 3
 .Os
 .Sh NAME
@@ -47,7 +47,7 @@ The
 function converts the initial portion of the string pointed to by
 .Fa nptr
 to
-.Li long long integer
+.Vt long long integer
 representation.
 .Pp
 It is equivalent to:
diff --git a/src/lib/libc/stdlib/div.3 b/src/lib/libc/stdlib/div.3
index 421400a294..b4b42ba8ec 100644
--- a/src/lib/libc/stdlib/div.3
+++ b/src/lib/libc/stdlib/div.3
@@ -27,9 +27,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	$OpenBSD: div.3,v 1.12 2016/08/14 23:18:03 guenther Exp $
+.\"	$OpenBSD: div.3,v 1.13 2022/09/11 06:38:11 jmc Exp $
 .\"
-.Dd $Mdocdate: August 14 2016 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt DIV 3
 .Os
 .Sh NAME
@@ -47,7 +47,7 @@ function computes the value
 and returns the quotient and remainder in a structure named
 .Fa div_t
 that contains two
-.Li int
+.Vt int
 members named
 .Fa quot
 and
diff --git a/src/lib/libc/stdlib/getopt_long.3 b/src/lib/libc/stdlib/getopt_long.3
index 9f99a353e8..88594cbf9c 100644
--- a/src/lib/libc/stdlib/getopt_long.3
+++ b/src/lib/libc/stdlib/getopt_long.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: getopt_long.3,v 1.24 2022/01/06 18:58:24 jmc Exp $
+.\"	$OpenBSD: getopt_long.3,v 1.25 2022/09/11 06:38:11 jmc Exp $
 .\"	$NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $
 .\"
 .\" Copyright (c) 1988, 1991, 1993
@@ -30,7 +30,7 @@
 .\"
 .\"     @(#)getopt.3	8.5 (Berkeley) 4/27/95
 .\"
-.Dd $Mdocdate: January 6 2022 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt GETOPT_LONG 3
 .Os
 .Sh NAME
@@ -197,7 +197,7 @@ the single-character option is returned.
 If the
 .Fa flag
 field in
-.Li struct option
+.Vt struct option
 is
 .Dv NULL ,
 .Fn getopt_long
diff --git a/src/lib/libc/stdlib/imaxdiv.3 b/src/lib/libc/stdlib/imaxdiv.3
index 0d4f765373..70168acb30 100644
--- a/src/lib/libc/stdlib/imaxdiv.3
+++ b/src/lib/libc/stdlib/imaxdiv.3
@@ -29,9 +29,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	$OpenBSD: imaxdiv.3,v 1.7 2016/08/14 23:18:03 guenther Exp $
+.\"	$OpenBSD: imaxdiv.3,v 1.8 2022/09/11 06:38:11 jmc Exp $
 .\"
-.Dd $Mdocdate: August 14 2016 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt IMAXDIV 3
 .Os
 .Sh NAME
@@ -47,9 +47,9 @@ The
 function computes the value
 .Fa num Ns / Ns Fa denom
 and returns the quotient and remainder in a structure named
-.Li imaxdiv_t
+.Vt imaxdiv_t
 that contains two
-.Li intmax_t
+.Vt intmax_t
 members named
 .Fa quot
 and
diff --git a/src/lib/libc/stdlib/ldiv.3 b/src/lib/libc/stdlib/ldiv.3
index 1fa6f38c45..c7ddc85ac5 100644
--- a/src/lib/libc/stdlib/ldiv.3
+++ b/src/lib/libc/stdlib/ldiv.3
@@ -29,9 +29,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	$OpenBSD: ldiv.3,v 1.13 2016/08/14 23:18:03 guenther Exp $
+.\"	$OpenBSD: ldiv.3,v 1.14 2022/09/11 06:38:11 jmc Exp $
 .\"
-.Dd $Mdocdate: August 14 2016 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt LDIV 3
 .Os
 .Sh NAME
@@ -47,9 +47,9 @@ The
 function computes the value
 .Fa num Ns / Ns Fa denom
 and returns the quotient and remainder in a structure named
-.Li ldiv_t
+.Vt ldiv_t
 that contains two
-.Li long integer
+.Vt long integer
 members named
 .Fa quot
 and
diff --git a/src/lib/libc/stdlib/lldiv.3 b/src/lib/libc/stdlib/lldiv.3
index 526da8d0c4..539d7b5179 100644
--- a/src/lib/libc/stdlib/lldiv.3
+++ b/src/lib/libc/stdlib/lldiv.3
@@ -29,9 +29,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	$OpenBSD: lldiv.3,v 1.8 2017/08/01 14:57:02 schwarze Exp $
+.\"	$OpenBSD: lldiv.3,v 1.9 2022/09/11 06:38:11 jmc Exp $
 .\"
-.Dd $Mdocdate: August 1 2017 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt LLDIV 3
 .Os
 .Sh NAME
@@ -50,9 +50,9 @@ The
 function computes the value
 .Fa num Ns / Ns Fa denom
 and returns the quotient and remainder in a structure named
-.Li lldiv_t
+.Vt lldiv_t
 that contains two
-.Li long long integer
+.Vt long long integer
 members named
 .Fa quot
 and
diff --git a/src/lib/libc/stdlib/strtod.3 b/src/lib/libc/stdlib/strtod.3
index 0561f3615d..ad8f28a02f 100644
--- a/src/lib/libc/stdlib/strtod.3
+++ b/src/lib/libc/stdlib/strtod.3
@@ -29,9 +29,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	$OpenBSD: strtod.3,v 1.22 2019/01/16 12:55:49 schwarze Exp $
+.\"	$OpenBSD: strtod.3,v 1.23 2022/09/11 06:38:11 jmc Exp $
 .\"
-.Dd $Mdocdate: January 16 2019 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt STRTOD 3
 .Os
 .Sh NAME
@@ -55,21 +55,21 @@ The
 function converts the initial portion of the string pointed to by
 .Fa nptr
 to
-.Li double
+.Vt double
 representation.
 The
 .Fn strtof
 function converts the initial portion of the string pointed to by
 .Fa nptr
 to
-.Li float
+.Vt float
 representation.
 The
 .Fn strtold
 function converts the initial portion of the string pointed to by
 .Fa nptr
 to
-.Li long double
+.Vt long double
 representation.
 .Pp
 The expected form of the string is an optional plus
diff --git a/src/lib/libc/stdlib/strtonum.3 b/src/lib/libc/stdlib/strtonum.3
index 43df0edc78..87a3ccd588 100644
--- a/src/lib/libc/stdlib/strtonum.3
+++ b/src/lib/libc/stdlib/strtonum.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strtonum.3,v 1.18 2016/02/07 20:50:24 mmcc Exp $
+.\" $OpenBSD: strtonum.3,v 1.19 2022/09/11 06:38:11 jmc Exp $
 .\"
 .\" Copyright (c) 2004 Ted Unangst
 .\"
@@ -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: February 7 2016 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt STRTONUM 3
 .Os
 .Sh NAME
@@ -35,7 +35,7 @@ The
 function converts the string in
 .Fa nptr
 to a
-.Li long long
+.Vt long long
 value.
 The
 .Fn strtonum
@@ -56,7 +56,7 @@ or
 sign.
 .Pp
 The remainder of the string is converted to a
-.Li long long
+.Vt long long
 value according to base 10.
 .Pp
 The value obtained is then checked against the provided
diff --git a/src/lib/libc/string/memccpy.3 b/src/lib/libc/string/memccpy.3
index 98326d6871..ac5719918f 100644
--- a/src/lib/libc/string/memccpy.3
+++ b/src/lib/libc/string/memccpy.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: memccpy.3,v 1.12 2013/09/25 21:49:30 millert Exp $
+.\"	$OpenBSD: memccpy.3,v 1.13 2022/09/11 06:38:11 jmc Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)memccpy.3	8.1 (Berkeley) 6/9/93
 .\"
-.Dd $Mdocdate: September 25 2013 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt MEMCCPY 3
 .Os
 .Sh NAME
@@ -49,7 +49,7 @@ to string
 If the character
 .Fa c
 (as converted to an
-.Li unsigned char )
+.Vt unsigned char )
 occurs in the string
 .Fa src ,
 the copy stops and a pointer to the byte after the copy of
diff --git a/src/lib/libc/string/memchr.3 b/src/lib/libc/string/memchr.3
index 8d8a9ddf9c..2c961b6338 100644
--- a/src/lib/libc/string/memchr.3
+++ b/src/lib/libc/string/memchr.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: memchr.3,v 1.12 2014/04/07 17:57:56 schwarze Exp $
+.\"	$OpenBSD: memchr.3,v 1.13 2022/09/11 06:38:11 jmc Exp $
 .\"
 .\" Copyright (c) 1990, 1991 The Regents of the University of California.
 .\" All rights reserved.
@@ -31,7 +31,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd $Mdocdate: April 7 2014 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt MEMCHR 3
 .Os
 .Sh NAME
@@ -50,7 +50,7 @@ The
 function locates the first occurrence of
 .Fa c
 (converted to an
-.Li unsigned char )
+.Vt unsigned char )
 in string
 .Fa b .
 .Pp
diff --git a/src/lib/libc/string/memcmp.3 b/src/lib/libc/string/memcmp.3
index 25d308e617..86a95c8c19 100644
--- a/src/lib/libc/string/memcmp.3
+++ b/src/lib/libc/string/memcmp.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: memcmp.3,v 1.9 2014/06/13 02:12:17 matthew Exp $
+.\"	$OpenBSD: memcmp.3,v 1.10 2022/09/11 06:38:11 jmc Exp $
 .\"
 .\" Copyright (c) 1990, 1991 The Regents of the University of California.
 .\" All rights reserved.
@@ -31,7 +31,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd $Mdocdate: June 13 2014 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt MEMCMP 3
 .Os
 .Sh NAME
@@ -57,7 +57,7 @@ The
 function returns zero if the two strings are identical,
 otherwise returns the difference between the first two differing bytes
 (treated as
-.Li unsigned char
+.Vt unsigned char
 values, so that
 .Sq Li \e200
 is greater than
diff --git a/src/lib/libc/string/memset.3 b/src/lib/libc/string/memset.3
index ac5b7e90ad..0051ff615d 100644
--- a/src/lib/libc/string/memset.3
+++ b/src/lib/libc/string/memset.3
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: memset.3,v 1.8 2013/06/05 03:39:23 tedu Exp $
+.\"	$OpenBSD: memset.3,v 1.9 2022/09/11 06:38:11 jmc Exp $
 .\"
 .\" Copyright (c) 1990, 1991 The Regents of the University of California.
 .\" All rights reserved.
@@ -31,7 +31,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: September 11 2022 $
 .Dt MEMSET 3
 .Os
 .Sh NAME
@@ -49,7 +49,7 @@ function writes
 bytes of value
 .Fa c
 (converted to an
-.Li unsigned char )
+.Vt unsigned char )
 to the string
 .Fa b .
 .Sh RETURN VALUES
-- 
cgit v1.2.3-55-g6feb