From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/FUNCTIONS/strcmp.html | 88 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 reference/C/FUNCTIONS/strcmp.html (limited to 'reference/C/FUNCTIONS/strcmp.html') diff --git a/reference/C/FUNCTIONS/strcmp.html b/reference/C/FUNCTIONS/strcmp.html new file mode 100644 index 0000000..003ba5b --- /dev/null +++ b/reference/C/FUNCTIONS/strcmp.html @@ -0,0 +1,88 @@ +strcmp function + + + + + + +
+
+

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 v1.2.3-54-g00ecf