mirror of https://github.com/mkerrisk/man-pages
strcmp.3: tfix
With a simple backslash, '\0' ended up as ' ' in the man output. Reported-by: Štěpán Němec <stepnem@gmail.com> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
53de89a5fa
commit
0c292c5f93
|
@ -143,7 +143,7 @@ First, some examples using
|
||||||
.EX
|
.EX
|
||||||
$ \fB./string_comp ABC ABC\fP
|
$ \fB./string_comp ABC ABC\fP
|
||||||
<str1> and <str2> are equal
|
<str1> and <str2> are equal
|
||||||
$ \fB./string_comp ABC AB\fP # \(aqC\(aq is ASCII 67; \(aqC\(aq \- \(aq\0\(aq = 67
|
$ \fB./string_comp ABC AB\fP # \(aqC\(aq is ASCII 67; \(aqC\(aq \- \(aq\e0\(aq = 67
|
||||||
<str1> is greater than <str2> (67)
|
<str1> is greater than <str2> (67)
|
||||||
$ \fB./string_comp ABA ABZ\fP # \(aqA\(aq is ASCII 65; \(aqZ\(aq is ASCII 90
|
$ \fB./string_comp ABA ABZ\fP # \(aqA\(aq is ASCII 65; \(aqZ\(aq is ASCII 90
|
||||||
<str1> is less than <str2> (\-25)
|
<str1> is less than <str2> (\-25)
|
||||||
|
|
Loading…
Reference in New Issue