diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-05 17:52:37 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-05 17:52:37 +0000 |
commit | f8a07a215402da181c4c29c48e034e40f826cd1f (patch) | |
tree | 2cfa720b210306738043188a7584196cfd9556f4 /man3/strtoul.3 | |
parent | 26868e5b2676c542ba69abc5d255d67ba2a977fe (diff) |
s/'/\\'/ to improve rendering in UTF-8.
Diffstat (limited to 'man3/strtoul.3')
-rw-r--r-- | man3/strtoul.3 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/man3/strtoul.3 b/man3/strtoul.3 index 41bac04d..413bc3f5 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -65,21 +65,21 @@ the special value 0. The string may begin with an arbitrary amount of white space (as determined by .BR isspace (3)) -followed by a single optional '+' or '\-' +followed by a single optional \'+\' or \'\-\' sign. If \fIbase\fP is zero or 16, the string may then include a "0x" prefix, and the number will be read in base 16; otherwise, a zero \fIbase\fP is taken as 10 (decimal) unless the next character -is '0', in which case it is taken as 8 (octal). +is \'0\', in which case it is taken as 8 (octal). .PP The remainder of the string is converted to an .I "unsigned long int" value in the obvious manner, stopping at the first character which is not a 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.) +(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, .BR strtoul () @@ -90,8 +90,8 @@ all, .BR strtoul () 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. +In particular, if \fI*nptr\fP is not \'\\0\' but \fI**endptr\fP +is \'\\0\' on return, the entire string is valid. .PP The .BR strtoull () |