Query: strcoll
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
strcoll(3) Library Functions Manual strcoll(3)NAMEstrcoll - Compares strings using locale collationLIBRARYStandard C Library (libc.so, libc.a)SYNOPSIS#include <string.h> int strcoll( const char *s1, const char *s2);STANDARDSInterfaces documented on this reference page conform to industry standards as follows: strcoll(): XSH4.2 Refer to the standards(5) reference page for more information about industry standards and associated tags.PARAMETERSSpecifies first string to be compared. Specifies second string to be compared.DESCRIPTIONThe strcoll() function compares the string pointed to by the s1 parameter with the string pointed to by the s2 parameter, both interpreted as appropriate to the LC_COLLATE category of the current locale.RETURN VALUESOn successful completion, the strcoll() function returns an integer whose value is greater than, equal to, or less than 0 (zero), according to whether the s1 string is greater than, equal to, or less than the s2 string. [Tru64 UNIX] When a successful comparison cannot be made, this function returns a value of 0 (zero).ERRORSThe strcoll() function sets errno to the specified values for the following conditions: The string pointed to by the s1 or s2 parameter contains characters outside the domain of the collating sequence.RELATED INFORMATIONFunctions: setlocale(3), string(3)/strcmp(3), strxfrm(3), wcscoll(3) Standards: standards(5) delim off strcoll(3)
Related Man Pages |
---|
strcoll(3) - mojave |
strcoll(3) - osx |
strcoll(3) - ultrix |
strncmp(3) - osf1 |
strncpy(3) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Spanish accent symbol removed by sed |
Unexpected results with lists in GNU sed |
Code |