summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtonum.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/strtonum.3')
-rw-r--r--src/lib/libc/stdlib/strtonum.38
1 files changed, 4 insertions, 4 deletions
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
35function converts the string in 35function converts the string in
36.Fa nptr 36.Fa nptr
37to a 37to a
38.Li long long 38.Vt long long
39value. 39value.
40The 40The
41.Fn strtonum 41.Fn strtonum
@@ -56,7 +56,7 @@ or
56sign. 56sign.
57.Pp 57.Pp
58The remainder of the string is converted to a 58The remainder of the string is converted to a
59.Li long long 59.Vt long long
60value according to base 10. 60value according to base 10.
61.Pp 61.Pp
62The value obtained is then checked against the provided 62The value obtained is then checked against the provided