1 WCSCOLL(3C) Standard C Library Functions WCSCOLL(3C)
2
3
4
5 NAME
6 wcscoll, wcscoll_l wscoll - wide character string comparison using
7 collating information
8
9 SYNOPSIS
10 #include <wchar.h>
11
12 int wcscoll(const wchar_t *ws1, const wchar_t *ws2);
13
14 int wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t loc);
15
16 int wscoll(const wchar_t *ws1, const wchar_t *ws2);
17
18 DESCRIPTION
19 The wcscoll(), wcscoll_l(), and wscoll() functions compare the wide
20 character string pointed to by ws1 to the wide character string pointed
21 to by ws2, both interpreted as appropriate to the LC_COLLATE locale
22 category.
23
24 These functions do not change the setting of errno if successful.
25
26 An application wanting to check for error situations should set errno
56
57 +--------------------+-----------------+
58 | ATTRIBUTE TYPE | ATTRIBUTE VALUE |
59 +--------------------+-----------------+
60 |CSI | Enabled |
61 +--------------------+-----------------+
62 |Interface Stability | See below. |
63 +--------------------+-----------------+
64 |MT-Level | MT-Safe |
65 +--------------------+-----------------+
66
67 The wcscoll() and wcscoll_l() functions are Standard. The wscoll()
68 function is Committed.
69
70 SEE ALSO
71 newlocale(3C), setlocale(3C), uselocale(3C), wcscmp(3C), wcsxfrm(3C),
72 attributes(5), standards(5)
73
74
75
76 April 9, 2016 WCSCOLL(3C)
|
1 WCSCOLL(3C) Standard C Library Functions WCSCOLL(3C)
2
3
4
5 NAME
6 wcscoll, wcscoll_l, wscoll - wide character string comparison using
7 collating information
8
9 SYNOPSIS
10 #include <wchar.h>
11
12 int wcscoll(const wchar_t *ws1, const wchar_t *ws2);
13
14 int wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t loc);
15
16 int wscoll(const wchar_t *ws1, const wchar_t *ws2);
17
18 DESCRIPTION
19 The wcscoll(), wcscoll_l(), and wscoll() functions compare the wide
20 character string pointed to by ws1 to the wide character string pointed
21 to by ws2, both interpreted as appropriate to the LC_COLLATE locale
22 category.
23
24 These functions do not change the setting of errno if successful.
25
26 An application wanting to check for error situations should set errno
56
57 +--------------------+-----------------+
58 | ATTRIBUTE TYPE | ATTRIBUTE VALUE |
59 +--------------------+-----------------+
60 |CSI | Enabled |
61 +--------------------+-----------------+
62 |Interface Stability | See below. |
63 +--------------------+-----------------+
64 |MT-Level | MT-Safe |
65 +--------------------+-----------------+
66
67 The wcscoll() and wcscoll_l() functions are Standard. The wscoll()
68 function is Committed.
69
70 SEE ALSO
71 newlocale(3C), setlocale(3C), uselocale(3C), wcscmp(3C), wcsxfrm(3C),
72 attributes(5), standards(5)
73
74
75
76 August 20, 2019 WCSCOLL(3C)
|