Query: strcoll
OS: ultrix
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
strcoll(3) Library Functions Manual strcoll(3) Name strcoll - string collation comparison Syntax int strcoll (s1, s2) char *s1, *s2; Description The function returns an integer less than, equal to, or greater than zero depending on whether the string pointed to by s1 is lexicographi- cally less than, equal to, or greater than the string pointed to by s2. The function performs the comparison by using the collating information defined in the program's locale, category In the C locale, characters collate as if they are unsigned. In all cases works as if were called on s1 and s2, and was called on the resulting strings. International Environment LC_COLLATE Contains the user requirements for language, territory, and codeset for the character collation format. affects the behav- ior of regular expressions and the string collation functions in If is not defined in the current environment, provides the necessary default. LANG If this environment is set and valid, uses the international language database named in the definition to determine the character collation formatting rules. If is defined, its definition supercedes the definition of See Also string(3), setlocale(3), strxfrm(3), environ(5int) strcoll(3)
Related Man Pages |
---|
strcoll(3c) - opensolaris |
strcoll(3) - mojave |
fscanf(3int) - ultrix |
scanf(3int) - ultrix |
strxfrm(3) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Spanish accent symbol removed by sed |
Unexpected results with lists in GNU sed |
Code |