diff options
| author | jmc <> | 2022-09-11 06:38:11 +0000 |
|---|---|---|
| committer | jmc <> | 2022-09-11 06:38:11 +0000 |
| commit | 3e268b5d835a2d2ed944b2e03c9cc7f178765bb3 (patch) | |
| tree | fef440286902c30bd0cbff19e3da976f80de9175 /src/lib/libc/stdlib | |
| parent | 95806d271a4d8ed4658ab14b5713895696bb8919 (diff) | |
| download | openbsd-3e268b5d835a2d2ed944b2e03c9cc7f178765bb3.tar.gz openbsd-3e268b5d835a2d2ed944b2e03c9cc7f178765bb3.tar.bz2 openbsd-3e268b5d835a2d2ed944b2e03c9cc7f178765bb3.zip | |
.Li -> .Vt where appropriate;
from josiah frentsos, tweaked by schwarze
ok schwarze
Diffstat (limited to 'src/lib/libc/stdlib')
| -rw-r--r-- | src/lib/libc/stdlib/atof.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/atoi.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/atol.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/atoll.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/div.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/getopt_long.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/imaxdiv.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/ldiv.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/lldiv.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/strtod.3 | 10 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/strtonum.3 | 8 |
11 files changed, 39 insertions, 39 deletions
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 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: atof.3,v 1.9 2019/01/16 12:55:49 schwarze Exp $ | 32 | .\" $OpenBSD: atof.3,v 1.10 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: January 16 2019 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt ATOF 3 | 35 | .Dt ATOF 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,7 +47,7 @@ The | |||
| 47 | function converts the initial portion of the string pointed to by | 47 | function converts the initial portion of the string pointed to by |
| 48 | .Fa nptr | 48 | .Fa nptr |
| 49 | to | 49 | to |
| 50 | .Li double | 50 | .Vt double |
| 51 | representation. | 51 | representation. |
| 52 | .Pp | 52 | .Pp |
| 53 | It is equivalent to: | 53 | 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 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: atoi.3,v 1.12 2015/09/10 15:16:43 schwarze Exp $ | 32 | .\" $OpenBSD: atoi.3,v 1.13 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: September 10 2015 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt ATOI 3 | 35 | .Dt ATOI 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,7 +47,7 @@ The | |||
| 47 | function converts the initial portion of the string pointed to by | 47 | function converts the initial portion of the string pointed to by |
| 48 | .Fa nptr | 48 | .Fa nptr |
| 49 | to | 49 | to |
| 50 | .Li integer | 50 | .Vt integer |
| 51 | representation. | 51 | representation. |
| 52 | .Pp | 52 | .Pp |
| 53 | It is equivalent to: | 53 | 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 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: atol.3,v 1.10 2015/09/10 15:16:43 schwarze Exp $ | 32 | .\" $OpenBSD: atol.3,v 1.11 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: September 10 2015 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt ATOL 3 | 35 | .Dt ATOL 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,7 +47,7 @@ The | |||
| 47 | function converts the initial portion of the string pointed to by | 47 | function converts the initial portion of the string pointed to by |
| 48 | .Fa nptr | 48 | .Fa nptr |
| 49 | to | 49 | to |
| 50 | .Li long integer | 50 | .Vt long integer |
| 51 | representation. | 51 | representation. |
| 52 | .Pp | 52 | .Pp |
| 53 | It is equivalent to: | 53 | 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 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: atoll.3,v 1.8 2015/09/10 15:16:43 schwarze Exp $ | 32 | .\" $OpenBSD: atoll.3,v 1.9 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: September 10 2015 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt ATOLL 3 | 35 | .Dt ATOLL 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,7 +47,7 @@ The | |||
| 47 | function converts the initial portion of the string pointed to by | 47 | function converts the initial portion of the string pointed to by |
| 48 | .Fa nptr | 48 | .Fa nptr |
| 49 | to | 49 | to |
| 50 | .Li long long integer | 50 | .Vt long long integer |
| 51 | representation. | 51 | representation. |
| 52 | .Pp | 52 | .Pp |
| 53 | It is equivalent to: | 53 | 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 @@ | |||
| 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 28 | .\" SUCH DAMAGE. | 28 | .\" SUCH DAMAGE. |
| 29 | .\" | 29 | .\" |
| 30 | .\" $OpenBSD: div.3,v 1.12 2016/08/14 23:18:03 guenther Exp $ | 30 | .\" $OpenBSD: div.3,v 1.13 2022/09/11 06:38:11 jmc Exp $ |
| 31 | .\" | 31 | .\" |
| 32 | .Dd $Mdocdate: August 14 2016 $ | 32 | .Dd $Mdocdate: September 11 2022 $ |
| 33 | .Dt DIV 3 | 33 | .Dt DIV 3 |
| 34 | .Os | 34 | .Os |
| 35 | .Sh NAME | 35 | .Sh NAME |
| @@ -47,7 +47,7 @@ function computes the value | |||
| 47 | and returns the quotient and remainder in a structure named | 47 | and returns the quotient and remainder in a structure named |
| 48 | .Fa div_t | 48 | .Fa div_t |
| 49 | that contains two | 49 | that contains two |
| 50 | .Li int | 50 | .Vt int |
| 51 | members named | 51 | members named |
| 52 | .Fa quot | 52 | .Fa quot |
| 53 | and | 53 | 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 @@ | |||
| 1 | .\" $OpenBSD: getopt_long.3,v 1.24 2022/01/06 18:58:24 jmc Exp $ | 1 | .\" $OpenBSD: getopt_long.3,v 1.25 2022/09/11 06:38:11 jmc Exp $ |
| 2 | .\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ | 2 | .\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ |
| 3 | .\" | 3 | .\" |
| 4 | .\" Copyright (c) 1988, 1991, 1993 | 4 | .\" Copyright (c) 1988, 1991, 1993 |
| @@ -30,7 +30,7 @@ | |||
| 30 | .\" | 30 | .\" |
| 31 | .\" @(#)getopt.3 8.5 (Berkeley) 4/27/95 | 31 | .\" @(#)getopt.3 8.5 (Berkeley) 4/27/95 |
| 32 | .\" | 32 | .\" |
| 33 | .Dd $Mdocdate: January 6 2022 $ | 33 | .Dd $Mdocdate: September 11 2022 $ |
| 34 | .Dt GETOPT_LONG 3 | 34 | .Dt GETOPT_LONG 3 |
| 35 | .Os | 35 | .Os |
| 36 | .Sh NAME | 36 | .Sh NAME |
| @@ -197,7 +197,7 @@ the single-character option is returned. | |||
| 197 | If the | 197 | If the |
| 198 | .Fa flag | 198 | .Fa flag |
| 199 | field in | 199 | field in |
| 200 | .Li struct option | 200 | .Vt struct option |
| 201 | is | 201 | is |
| 202 | .Dv NULL , | 202 | .Dv NULL , |
| 203 | .Fn getopt_long | 203 | .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 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: imaxdiv.3,v 1.7 2016/08/14 23:18:03 guenther Exp $ | 32 | .\" $OpenBSD: imaxdiv.3,v 1.8 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: August 14 2016 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt IMAXDIV 3 | 35 | .Dt IMAXDIV 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,9 +47,9 @@ The | |||
| 47 | function computes the value | 47 | function computes the value |
| 48 | .Fa num Ns / Ns Fa denom | 48 | .Fa num Ns / Ns Fa denom |
| 49 | and returns the quotient and remainder in a structure named | 49 | and returns the quotient and remainder in a structure named |
| 50 | .Li imaxdiv_t | 50 | .Vt imaxdiv_t |
| 51 | that contains two | 51 | that contains two |
| 52 | .Li intmax_t | 52 | .Vt intmax_t |
| 53 | members named | 53 | members named |
| 54 | .Fa quot | 54 | .Fa quot |
| 55 | and | 55 | 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 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: ldiv.3,v 1.13 2016/08/14 23:18:03 guenther Exp $ | 32 | .\" $OpenBSD: ldiv.3,v 1.14 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: August 14 2016 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt LDIV 3 | 35 | .Dt LDIV 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,9 +47,9 @@ The | |||
| 47 | function computes the value | 47 | function computes the value |
| 48 | .Fa num Ns / Ns Fa denom | 48 | .Fa num Ns / Ns Fa denom |
| 49 | and returns the quotient and remainder in a structure named | 49 | and returns the quotient and remainder in a structure named |
| 50 | .Li ldiv_t | 50 | .Vt ldiv_t |
| 51 | that contains two | 51 | that contains two |
| 52 | .Li long integer | 52 | .Vt long integer |
| 53 | members named | 53 | members named |
| 54 | .Fa quot | 54 | .Fa quot |
| 55 | and | 55 | 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 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: lldiv.3,v 1.8 2017/08/01 14:57:02 schwarze Exp $ | 32 | .\" $OpenBSD: lldiv.3,v 1.9 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: August 1 2017 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt LLDIV 3 | 35 | .Dt LLDIV 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -50,9 +50,9 @@ The | |||
| 50 | function computes the value | 50 | function computes the value |
| 51 | .Fa num Ns / Ns Fa denom | 51 | .Fa num Ns / Ns Fa denom |
| 52 | and returns the quotient and remainder in a structure named | 52 | and returns the quotient and remainder in a structure named |
| 53 | .Li lldiv_t | 53 | .Vt lldiv_t |
| 54 | that contains two | 54 | that contains two |
| 55 | .Li long long integer | 55 | .Vt long long integer |
| 56 | members named | 56 | members named |
| 57 | .Fa quot | 57 | .Fa quot |
| 58 | and | 58 | 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 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: strtod.3,v 1.22 2019/01/16 12:55:49 schwarze Exp $ | 32 | .\" $OpenBSD: strtod.3,v 1.23 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: January 16 2019 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt STRTOD 3 | 35 | .Dt STRTOD 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -55,21 +55,21 @@ The | |||
| 55 | function converts the initial portion of the string pointed to by | 55 | function converts the initial portion of the string pointed to by |
| 56 | .Fa nptr | 56 | .Fa nptr |
| 57 | to | 57 | to |
| 58 | .Li double | 58 | .Vt double |
| 59 | representation. | 59 | representation. |
| 60 | The | 60 | The |
| 61 | .Fn strtof | 61 | .Fn strtof |
| 62 | function converts the initial portion of the string pointed to by | 62 | function converts the initial portion of the string pointed to by |
| 63 | .Fa nptr | 63 | .Fa nptr |
| 64 | to | 64 | to |
| 65 | .Li float | 65 | .Vt float |
| 66 | representation. | 66 | representation. |
| 67 | The | 67 | The |
| 68 | .Fn strtold | 68 | .Fn strtold |
| 69 | function converts the initial portion of the string pointed to by | 69 | function converts the initial portion of the string pointed to by |
| 70 | .Fa nptr | 70 | .Fa nptr |
| 71 | to | 71 | to |
| 72 | .Li long double | 72 | .Vt long double |
| 73 | representation. | 73 | representation. |
| 74 | .Pp | 74 | .Pp |
| 75 | The expected form of the string is an optional plus | 75 | 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 @@ | |||
| 1 | .\" $OpenBSD: strtonum.3,v 1.18 2016/02/07 20:50:24 mmcc Exp $ | 1 | .\" $OpenBSD: strtonum.3,v 1.19 2022/09/11 06:38:11 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2004 Ted Unangst | 3 | .\" Copyright (c) 2004 Ted Unangst |
| 4 | .\" | 4 | .\" |
| @@ -14,7 +14,7 @@ | |||
| 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | .\" | 16 | .\" |
| 17 | .Dd $Mdocdate: February 7 2016 $ | 17 | .Dd $Mdocdate: September 11 2022 $ |
| 18 | .Dt STRTONUM 3 | 18 | .Dt STRTONUM 3 |
| 19 | .Os | 19 | .Os |
| 20 | .Sh NAME | 20 | .Sh NAME |
| @@ -35,7 +35,7 @@ The | |||
| 35 | function converts the string in | 35 | function converts the string in |
| 36 | .Fa nptr | 36 | .Fa nptr |
| 37 | to a | 37 | to a |
| 38 | .Li long long | 38 | .Vt long long |
| 39 | value. | 39 | value. |
| 40 | The | 40 | The |
| 41 | .Fn strtonum | 41 | .Fn strtonum |
| @@ -56,7 +56,7 @@ or | |||
| 56 | sign. | 56 | sign. |
| 57 | .Pp | 57 | .Pp |
| 58 | The remainder of the string is converted to a | 58 | The remainder of the string is converted to a |
| 59 | .Li long long | 59 | .Vt long long |
| 60 | value according to base 10. | 60 | value according to base 10. |
| 61 | .Pp | 61 | .Pp |
| 62 | The value obtained is then checked against the provided | 62 | The value obtained is then checked against the provided |
