summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2022-09-11 06:38:13 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2022-09-11 06:38:13 +0000
commit272335dff09eb442fbdf7e81932b406f2f2c02e0 (patch)
tree0f9b92c92b745f1757f00736d57cf9cf4def8b8d /lib/libc/stdlib
parent830aea92a7879fb169129d063efaaff66a0cb89b (diff)
.Li -> .Vt where appropriate;
from josiah frentsos, tweaked by schwarze ok schwarze
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/atof.36
-rw-r--r--lib/libc/stdlib/atoi.36
-rw-r--r--lib/libc/stdlib/atol.36
-rw-r--r--lib/libc/stdlib/atoll.36
-rw-r--r--lib/libc/stdlib/div.36
-rw-r--r--lib/libc/stdlib/getopt_long.36
-rw-r--r--lib/libc/stdlib/imaxdiv.38
-rw-r--r--lib/libc/stdlib/ldiv.38
-rw-r--r--lib/libc/stdlib/lldiv.38
-rw-r--r--lib/libc/stdlib/strtod.310
-rw-r--r--lib/libc/stdlib/strtonum.38
11 files changed, 39 insertions, 39 deletions
diff --git a/lib/libc/stdlib/atof.3 b/lib/libc/stdlib/atof.3
index 183f22d358d..7d1f09d1a4a 100644
--- a/lib/libc/stdlib/atof.3
+++ b/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/lib/libc/stdlib/atoi.3 b/lib/libc/stdlib/atoi.3
index 0cd90ccffb9..92d8de93a6d 100644
--- a/lib/libc/stdlib/atoi.3
+++ b/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/lib/libc/stdlib/atol.3 b/lib/libc/stdlib/atol.3
index c80f61f754b..f67ca7da6c8 100644
--- a/lib/libc/stdlib/atol.3
+++ b/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/lib/libc/stdlib/atoll.3 b/lib/libc/stdlib/atoll.3
index 0cf8e40f8ec..c2b606dda9a 100644
--- a/lib/libc/stdlib/atoll.3
+++ b/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/lib/libc/stdlib/div.3 b/lib/libc/stdlib/div.3
index 421400a2943..b4b42ba8eca 100644
--- a/lib/libc/stdlib/div.3
+++ b/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/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3
index 9f99a353e8c..88594cbf9c4 100644
--- a/lib/libc/stdlib/getopt_long.3
+++ b/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/lib/libc/stdlib/imaxdiv.3 b/lib/libc/stdlib/imaxdiv.3
index 0d4f7653734..70168acb30d 100644
--- a/lib/libc/stdlib/imaxdiv.3
+++ b/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/lib/libc/stdlib/ldiv.3 b/lib/libc/stdlib/ldiv.3
index 1fa6f38c457..c7ddc85ac58 100644
--- a/lib/libc/stdlib/ldiv.3
+++ b/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/lib/libc/stdlib/lldiv.3 b/lib/libc/stdlib/lldiv.3
index 526da8d0c49..539d7b5179b 100644
--- a/lib/libc/stdlib/lldiv.3
+++ b/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/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3
index 0561f3615d7..ad8f28a02fe 100644
--- a/lib/libc/stdlib/strtod.3
+++ b/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/lib/libc/stdlib/strtonum.3 b/lib/libc/stdlib/strtonum.3
index 43df0edc78f..87a3ccd5883 100644
--- a/lib/libc/stdlib/strtonum.3
+++ b/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