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/strncmp.html | 78 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 reference/C/FUNCTIONS/strncmp.html (limited to 'reference/C/FUNCTIONS/strncmp.html') diff --git a/reference/C/FUNCTIONS/strncmp.html b/reference/C/FUNCTIONS/strncmp.html new file mode 100644 index 0000000..023b622 --- /dev/null +++ b/reference/C/FUNCTIONS/strncmp.html @@ -0,0 +1,78 @@ +strncmp function + + + + + + +
+
+

strncmp function

+
+
+

+strncmp will test at most 'n' characters in s1 to s2 for equallity. +

+Library:   string.h
+
+Prototype: int strncmp(const char *s1, const char *s2, int n);
+
+Syntax:	   char string1[]="red dwarf";
+	   char string2[]="red";
+
+           strncmp(string1, string2, 3);
+Returns :
+           < 0 if s1 is less than s2
+	     0 if s1 == s2
+	   > 0 id s1 > s2
+
+Could do with more explanation.... +
+

See Also:

+ +strcmp +

+ +o +strcasecmp Compare strings, ignoring case. +

+ + +toupper +

+ + +tolower +

+ + +Strings +

+ + +

+ +


+

+

+ + + + +
+ Top + + Master Index + + Keywords + + Functions +
+
+

+


+
Martin Leslie +

+ + -- cgit v1.2.3-54-g00ecf