diff options
Diffstat (limited to 'manual/string.texi')
-rw-r--r-- | manual/string.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/string.texi b/manual/string.texi index 73a29f48e5..efcc23e59a 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -601,7 +601,7 @@ strcmp ("hello", "world") @result{} -15 /* @r{The character @code{'h'} comes before @code{'w'}.} */ strcmp ("hello", "hello, world") @result{} -44 /* @r{Comparing a null character against a comma.} */ -strncmp ("hello", "hello, world"", 5) +strncmp ("hello", "hello, world", 5) @result{} 0 /* @r{The initial 5 characters are the same.} */ strncmp ("hello, world", "hello, stupid world!!!", 5) @result{} 0 /* @r{The initial 5 characters are the same.} */ |