diff options
| author | Mike Barcroft <mike@FreeBSD.org> | 2001-10-11 17:02:44 +0000 |
|---|---|---|
| committer | Mike Barcroft <mike@FreeBSD.org> | 2001-10-11 17:02:44 +0000 |
| commit | 43e13bf58f993e1cf730f9506b5a78fbdf6f86e0 (patch) | |
| tree | c66f8adbe5b5d4c486096465954b32c759f34a5b | |
| parent | a9227c40eb16696de3b96947b035df60b410eb9b (diff) | |
Notes
| -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 |
