summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtol.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/strtol.3')
-rw-r--r--src/lib/libc/stdlib/strtol.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/strtol.3 b/src/lib/libc/stdlib/strtol.3
index b7d2cd1225..006ba904a5 100644
--- a/src/lib/libc/stdlib/strtol.3
+++ b/src/lib/libc/stdlib/strtol.3
@@ -33,7 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: strtol.3,v 1.3 1996/08/19 08:33:51 tholo Exp $ 36.\" $OpenBSD: strtol.3,v 1.4 1999/06/29 18:36:23 aaron Exp $
37.\" 37.\"
38.Dd June 25, 1992 38.Dd June 25, 1992
39.Dt STRTOL 3 39.Dt STRTOL 3
@@ -59,7 +59,7 @@ function
59converts the string in 59converts the string in
60.Fa nptr 60.Fa nptr
61to a 61to a
62.Em long 62.Li long
63value. 63value.
64The 64The
65.Fn strtoq 65.Fn strtoq
@@ -67,7 +67,7 @@ function
67converts the string in 67converts the string in
68.Fa nptr 68.Fa nptr
69to a 69to a
70.Em quad_t 70.Li quad_t
71value. 71value.
72The conversion is done according to the given 72The conversion is done according to the given
73.Fa base , 73.Fa base ,
@@ -95,7 +95,7 @@ is taken as 10 (decimal) unless the next character is
95in which case it is taken as 8 (octal). 95in which case it is taken as 8 (octal).
96.Pp 96.Pp
97The remainder of the string is converted to a 97The remainder of the string is converted to a
98.Em long 98.Li long
99value in the obvious manner, 99value in the obvious manner,
100stopping at the first character which is not a valid digit 100stopping at the first character which is not a valid digit
101in the given base. 101in the given base.