diff options
Diffstat (limited to 'lib/libc/string/strcmp.3')
| -rw-r--r-- | lib/libc/string/strcmp.3 | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/string/strcmp.3 b/lib/libc/string/strcmp.3 index 33db3c66c8be..08adad0cac0b 100644 --- a/lib/libc/string/strcmp.3 +++ b/lib/libc/string/strcmp.3 @@ -36,7 +36,7 @@  .\"     @(#)strcmp.3	8.1 (Berkeley) 6/4/93  .\" $FreeBSD$  .\" -.Dd June 4, 1993 +.Dd October 11, 2001  .Dt STRCMP 3  .Os  .Sh NAME @@ -64,9 +64,16 @@ and  .Pp  The  .Fn strncmp +function  compares not more than  .Fa len  characters. +Because +.Fn strncmp +is designed for comparing strings rather than binary data, +characters that appear after a +.Ql \e0 +character are not compared.  .Sh RETURN VALUES  The  .Fn strcmp  | 
