strcmp function


strcmp will test two strings for equallity.

	Returns :
		< 0 if s1 is less than s2
		  0 if s1 == s2
		> 0 if s1 is greater than s2
This function probably provides too much information by indicating which string is lexicographically greater. The net result means that the strcmp return code is logically incorrect because it returns a FALSE value when the strings match.


Example:

o Function that compares two strings and returns a sensible return code.

See Also:

o strncmp

o strstr Find a sub string in a string.

o strchrLocate a character in a string.

o index Locate a character in a string.

o strcasecmp Compare strings, ignoring case.

o toupper

o tolower


Top Master Index Keywords Functions


Martin Leslie

cgit.cgi/linux/net-next.git/diff/sound?h=packet-loop-back&id=ce38207f161513ee3d2bd3860489f07ebe65bc78'>diff

path: root/sound
ModeNameSize