summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/stdlib/strtoul.37
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/strtoul.3 b/src/lib/libc/stdlib/strtoul.3
index fd6a235309..0e804ec3f9 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.12 2003/03/06 18:19:26 kjell Exp $ 36.\" $OpenBSD: strtoul.3,v 1.13 2003/04/21 21:49:40 millert Exp $
37.\" 37.\"
38.Dd June 25, 1992 38.Dd June 25, 1992
39.Dt STRTOUL 3 39.Dt STRTOUL 3
@@ -83,6 +83,11 @@ The conversion is done according to the given
83.Fa base , 83.Fa base ,
84which must be a number between 2 and 36 inclusive 84which must be a number between 2 and 36 inclusive
85or the special value 0. 85or the special value 0.
86If the string in
87.Fa nptr
88represents a negative number, it will be converted to its unsigned equivalent.
89This behavior is consistent with what happens when a signed integer type is
90cast to its unsigned counterpart.
86.Pp 91.Pp
87The string may begin with an arbitrary amount of whitespace 92The string may begin with an arbitrary amount of whitespace
88(as determined by 93(as determined by