Penguin
Annotated edit history of strcoll(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 STRCOLL
2 !!!STRCOLL
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 NOTES
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 strcoll - compare two strings using the current locale
15 !!SYNOPSIS
16
17
18 __#include
19 __''s1''__, const char *__''s2''__);
20 __
21 !!DESCRIPTION
22
23
24 The __strcoll()__ function compares the two strings
25 ''s1'' and ''s2''. It returns an integer less than,
26 equal to, or greater than zero if ''s1'' is found,
27 respectively, to be less than, to match, or be greater than
28 ''s2''. The comparison is based on strings interpreted as
29 appropriate for the program's current locale for category
30 ''LC_COLLATE''. (See setlocale(3)).
31 !!RETURN VALUE
32
33
34 The __strcoll()__ function returns an integer less than,
35 equal to, or greater than zero if ''s1'' is found,
36 respectively, to be less than, to match, or be greater than
37 ''s2'', when both are interpreted as appropriate for the
38 current locale.
39 !!CONFORMING TO
40
41
42 SVID 3, BSD 4.3, ISO 9899
43 !!NOTES
44
45
46 In the '''' or ''''
47 locales __strcoll()__ is equivalent to
48 __strcmp()__.
49 !!SEE ALSO
50
51
52 bcmp(3), memcmp(3), strcasecmp(3),
53 strcmp(3), strxfrm(3),
54 setlocale(3)
55 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.