summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtoul.3
diff options
context:
space:
mode:
authoraaron <>1999-06-29 18:36:24 +0000
committeraaron <>1999-06-29 18:36:24 +0000
commit5771e6280ed94b6457e5db9facb5899254e4fb7f (patch)
tree95397a7ed19a0cddf5a2ebb73dee20cf20fe2c29 /src/lib/libc/stdlib/strtoul.3
parent403f5844d16c63a63b8ce33a354e4871cb93df4c (diff)
downloadopenbsd-5771e6280ed94b6457e5db9facb5899254e4fb7f.tar.gz
openbsd-5771e6280ed94b6457e5db9facb5899254e4fb7f.tar.bz2
openbsd-5771e6280ed94b6457e5db9facb5899254e4fb7f.zip
first round of repairs on stdlib
Diffstat (limited to 'src/lib/libc/stdlib/strtoul.3')
-rw-r--r--src/lib/libc/stdlib/strtoul.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/strtoul.3 b/src/lib/libc/stdlib/strtoul.3
index b8234122a2..3b2a90adc3 100644
--- a/src/lib/libc/stdlib/strtoul.3
+++ b/src/lib/libc/stdlib/strtoul.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: strtoul.3,v 1.2 1996/08/19 08:33:52 tholo Exp $ 36.\" $OpenBSD: strtoul.3,v 1.3 1999/06/29 18:36:24 aaron Exp $
37.\" 37.\"
38.Dd June 25, 1992 38.Dd June 25, 1992
39.Dt STRTOUL 3 39.Dt STRTOUL 3
@@ -59,7 +59,7 @@ function
59converts the string in 59converts the string in
60.Fa nptr 60.Fa nptr
61to an 61to an
62.Em unsigned long 62.Li unsigned long
63value. 63value.
64The 64The
65.Fn strtouq 65.Fn strtouq
@@ -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 u_quad_t 70.Li u_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 an 97The remainder of the string is converted to an
98.Em unsigned long 98.Li unsigned long
99value in the obvious manner, 99value in the obvious manner,
100stopping at the end of the string 100stopping at the end of the string
101or at the first character that does not produce a valid digit 101or at the first character that does not produce a valid digit