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

nd/pci/ctxfi/ct20k2reg.h?h=nds-private-remove&id=cd44691f7177b2c1e1509d1a17d9b198ebaa34eb'>commitdiff

path: root/sound/pci/ctxfi/ct20k2reg.h
AgeCommit message (Expand)AuthorFilesLines