STRCOLL
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
NAME
strcoll
- compare strings according to current collation
SYNOPSIS
Fd #include <string.h>
Ft int
Fn strcoll const char *s1 const char *s2
DESCRIPTION
The
Fn strcoll
function
lexicographically compares the null-terminated strings
Fa s1
and
Fa s2
according to the current locale collation
and returns an integer greater than, equal to, or less than 0,
according as
Fa s1
is greater than, equal to, or less than
Fa s2 .
SEE ALSO
bcmp(3),
memcmp(3),
setlocale(3),
strcasecmp(3),
strcmp(3),
strxfrm(3)
STANDARDS
The
Fn strcoll
function
conforms to
St -ansiC .
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- STANDARDS
-
This document was created by
man2html,
using the manual pages.
Time: 15:52:52 GMT, January 15, 2023