diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-05-14 18:38:05 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-05-14 18:38:05 +0000 |
| commit | 86315d60a09711b1e90811edfecb4a05ef289038 (patch) | |
| tree | 9a938f0f75c19625b389537a80209971dc55d443 | |
| parent | bb60401e7a9e2adef1a1d7422bd9820122429dc0 (diff) | |
Notes
| -rw-r--r-- | lib/libc/string/strcasecmp.3 | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/lib/libc/string/strcasecmp.3 b/lib/libc/string/strcasecmp.3 index 8c1b63a85833..8941e186bbda 100644 --- a/lib/libc/string/strcasecmp.3 +++ b/lib/libc/string/strcasecmp.3 @@ -58,8 +58,19 @@ functions compare the null-terminated strings .Fa s1 and -.Fa s2 -and return an integer greater than, equal to, or less than 0, +.Fa s2 . +.Pp +The +.Fn strncasecmp +compares at most +.Fa len +characters. +.Sh RETURN VALUES +The +.Fn strcasecmp +and +.Fn strncasecmp +return an integer greater than, equal to, or less than 0, according as .Fa s1 is lexicographically greater than, equal to, or less than @@ -70,12 +81,6 @@ The comparison is done using unsigned characters, so that .Sq Li \e200 is greater than .Ql \e0 . -.Pp -The -.Fn strncasecmp -compares at most -.Fa len -characters. .Sh SEE ALSO .Xr bcmp 3 , .Xr memcmp 3 , |
