STRCASECMP(3) BSD Programmer's Manual STRCASECMP(3)
s
\bst
\btr
\brc
\bca
\bas
\bse
\bec
\bcm
\bmp
\bp - compare strings, ignoring case
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
#
\b#i
\bin
\bnc
\bcl
\blu
\bud
\bde
\be <
\b<s
\bst
\btr
\bri
\bin
\bng
\bg.
\b.h
\bh>
\b>
s
\bst
\btr
\brc
\bca
\bas
\bse
\bec
\bcm
\bmp
\bp(_
\bc_
\bo_
\bn_
\bs_
\bt _
\bc_
\bh_
\ba_
\br _
\b*_
\bs_
\b1, _
\bc_
\bo_
\bn_
\bs_
\bt _
\bc_
\bh_
\ba_
\br _
\b*_
\bs_
\b2);
s
\bst
\btr
\brn
\bnc
\bca
\bas
\bse
\bec
\bcm
\bmp
\bp(_
\bc_
\bo_
\bn_
\bs_
\bt _
\bc_
\bh_
\ba_
\br _
\b*_
\bs_
\b1, _
\bc_
\bo_
\bn_
\bs_
\bt _
\bc_
\bh_
\ba_
\br _
\b*_
\bs_
\b2, _
\bs_
\bi_
\bz_
\be_
\b__
\bt _
\bl_
\be_
\bn);
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
The s
\bst
\btr
\brc
\bca
\bas
\bse
\bec
\bcm
\bmp
\bp() and s
\bst
\btr
\brn
\bnc
\bca
\bas
\bse
\bec
\bcm
\bmp
\bp() functions compare the null-terminated
strings _
\bs_
\b1 and _
\bs_
\b2 and return an integer greater than, equal to, or less
than 0, according as _
\bs_
\b1 is lexicographically greater than, equal to, or
less than _
\bs_
\b2 after translation of each corresponding character to lower-
case. The strings themselves are not modified. The comparison is done
using unsigned characters, so that `\200' is greater than `\0'.
The s
\bst
\btr
\brn
\bnc
\bca
\bas
\bse
\bec
\bcm
\bmp
\bp() compares at most _
\bl_
\be_
\bn characters.
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
bcmp(3), memcmp(3), strcmp(3), strcoll(3), strxfrm(3)
H
\bHI
\bIS
\bST
\bTO
\bOR
\bRY
\bY
The s
\bst
\btr
\brc
\bca
\bas
\bse
\bec
\bcm
\bmp
\bp() and s
\bst
\btr
\brn
\bnc
\bca
\bas
\bse
\bec
\bcm
\bmp
\bp() functions first appeared in 4.4BSD.