strcoll man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

strcoll(3)							    strcoll(3)

NAME
       strcoll - Compares strings using locale collation

SYNOPSIS
       #include <string.h>

       int strcoll(
	       const char *s1,
	       const char *s2 );

LIBRARY
       Standard C Library (libc)

STANDARDS
       Interfaces  documented on this reference page conform to industry stan‐
       dards as follows:

       strcoll():  XSH4.2

       Refer to the standards(5) reference page	 for  more  information	 about
       industry standards and associated tags.

PARAMETERS
       Specifies  first	 string to be compared.	 Specifies second string to be
       compared.

DESCRIPTION
       The strcoll() function compares the string pointed to by the s1 parame‐
       ter with the string pointed to by the s2 parameter, both interpreted as
       appropriate to the LC_COLLATE category of the current locale.

RETURN VALUES
       On 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 func‐
       tion returns a value of 0 (zero).

ERRORS
       The strcoll() function sets errno to the specified values for the  fol‐
       lowing conditions: The string pointed to by the s1 or s2 parameter con‐
       tains characters outside the domain of the collating sequence.

SEE ALSO
       Functions: setlocale(3), string(3), strcmp(3), strxfrm(3), wcscoll(3)

       Standards: standards(5)

								    strcoll(3)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net