View | Details | Raw Unified | Return to bug 27161
Collapse All | Expand All

(-)strcasecmp.new.3 (-8 / +13 lines)
Lines 58-65 Link Here
58
compare the null-terminated strings
58
compare the null-terminated strings
59
.Fa s1
59
.Fa s1
60
and
60
and
61
.Fa s2
61
.Fa s2 .
62
and return an integer greater than, equal to, or less than 0,
62
.Pp
63
The
64
.Fn strncasecmp
65
compares at most
66
.Fa len
67
characters.
68
.Sh RETURN VALUES
69
The
70
.Fn strcasecmp
71
and
72
.Fn strncasecmp
73
return an integer greater than, equal to, or less than 0,
63
according as
74
according as
64
.Fa s1
75
.Fa s1
65
is lexicographically greater than, equal to, or less than
76
is lexicographically greater than, equal to, or less than
Lines 70-81 Link Here
70
.Sq Li \e200
81
.Sq Li \e200
71
is greater than
82
is greater than
72
.Ql \e0 .
83
.Ql \e0 .
73
.Pp
74
The
75
.Fn strncasecmp
76
compares at most
77
.Fa len
78
characters.
79
.Sh SEE ALSO
84
.Sh SEE ALSO
80
.Xr bcmp 3 ,
85
.Xr bcmp 3 ,
81
.Xr memcmp 3 ,
86
.Xr memcmp 3 ,

Return to bug 27161