]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/strtoul.3
Automated unformatting of parentheses using unformat_parens.sh
[thirdparty/man-pages.git] / man3 / strtoul.3
index 839f9b2a540cb65e1eb432c0a97092fa63b101c2..54c57d9922060f93d1343c593099ca874637f6bb 100644 (file)
@@ -42,7 +42,7 @@ strtoul, strtoull, strtouq \- convert a string to an unsigned long integer
 .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.
@@ -62,26 +62,26 @@ valid digit in the given base.  (In bases above 10, the letter `A' in
 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
@@ -113,13 +113,13 @@ BSD also has
 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),