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/MAN/strcoll.htm | 101 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 reference/C/MAN/strcoll.htm (limited to 'reference/C/MAN/strcoll.htm') diff --git a/reference/C/MAN/strcoll.htm b/reference/C/MAN/strcoll.htm new file mode 100644 index 0000000..043f740 --- /dev/null +++ b/reference/C/MAN/strcoll.htm @@ -0,0 +1,101 @@ +strcoll + +
+
+
+
+
+

STRCOLL(3) Linux Programmer's Manual STRCOLL(3) +

+ +

NAME +

strcoll - compare two strings using the current locale + +

SYNOPSIS +

#include <string.h> + + int strcoll(const char *s1, const char *s2); + +

DESCRIPTION +

The strcoll() function compares the two strings s1 and s2. + It returns an integer less than, equal to, or greater than + zero if s1 is found, respectively, to be less than, to + match, or be greater than s2. The comparison is based on + strings interpreted as appropriate for the program's cur- + rent locale for category LC_COLLATE. (See setlocale(3)). + +

RETURN VALUE +

The strcoll() function returns an integer less than, equal + to, or greater than zero if s1 is found, respectively, to + be less than, to match, or be greater than s2, when both + are interpreted as appropriate for the current locale. + +

CONFORMING TO +

SVID 3, BSD 4.3, ISO 9899 + +

NOTES +

The Linux C Library currently hasn't implemented the com- + plete POSIX-collating. + + In the "POSIX" or "C" locales strcoll() is equivalent to + strcmp(). + +
+
+

SEE ALSO +

+bcmp, +memcmp, +strcasecmp, +strcmp, +strxfrm, +setlocale, +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

GNU April 12, 1993 1 +

+ +
+

+


+

+

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

+


+ +This manual page was brought to you by mjl_man V-2.0 -- cgit v1.2.3-54-g00ecf