.BI "strtoull(const char *" nptr ", char **" endptr ", int " base );
.fi
.SH DESCRIPTION
-The \fBstrtoul()\fP function converts the initial part of the string
+The \fBstrtoul\fP() function converts the initial part of the string
in \fInptr\fP to an unsigned long integer value according to the
given \fIbase\fP, which must be between 2 and 36 inclusive, or be
the special value 0.
either upper or lower case represents 10, `B' represents 11, and so
forth, with `Z' representing 35.)
.PP
-If \fIendptr\fP is not NULL, \fBstrtoul()\fP stores the address of the
+If \fIendptr\fP is not NULL, \fBstrtoul\fP() stores the address of the
first invalid character in \fI*endptr\fP. If there were no digits at
-all, \fBstrtoul()\fP stores the original value of \fInptr\fP in
+all, \fBstrtoul\fP() stores the original value of \fInptr\fP in
\fI*endptr\fP (and returns 0).
In particular, if \fI*nptr\fP is not `\\0' but \fI**endptr\fP
is `\\0' on return, the entire string is valid.
.PP
The
-.B strtoull()
+.BR strtoull ()
function works just like the
-.B strtoul()
+.BR strtoul ()
function but returns an unsigned long long integer value.
.SH "RETURN VALUE"
-The \fBstrtoul()\fP function returns either the result of the conversion
+The \fBstrtoul\fP() function returns either the result of the conversion
or, if there was a leading minus sign, the negation of the result of the
conversion, unless the original (non-negated) value would overflow; in
-the latter case, \fBstrtoul()\fP returns ULONG_MAX and sets the global
+the latter case, \fBstrtoul\fP() returns ULONG_MAX and sets the global
variable \fIerrno\fP to ERANGE.
Precisely the same holds for
-.B strtoull()
+.BR strtoull ()
(with ULLONG_MAX instead of ULONG_MAX).
.SH ERRORS
.TP
with completely analogous definition.
Depending on the wordsize of the current architecture, this
may be equivalent to
-.B strtoull()
+.BR strtoull ()
or to
-.BR strtoul() .
+.BR strtoul ().
.SH "CONFORMING TO"
-.B strtoul()
+.BR strtoul ()
conforms to SVID 3, 4.3BSD, ISO 9899 (C99) and POSIX, and
-.BR strtoull()
+.BR strtoull ()
to ISO 9899 (C99) and POSIX 1003.1-2001.
.SH "SEE ALSO"
.BR atof (3),