Annotated edit history of
wcsncasecmp(3) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
WCSNCASECMP |
|
|
2 |
!!!WCSNCASECMP |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
SEE ALSO |
|
|
9 |
NOTES |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
wcsncasecmp - compare two fixed-size wide-character strings, ignoring case |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__#include |
|
|
19 |
__''s1''__, const wchar_t *__''s2''__, size_t__ ''n''__); |
|
|
20 |
__ |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
The __wcsncasecmp__ function is the wide-character |
|
|
25 |
equivalent of the __strncasecmp__ function. It compares |
|
|
26 |
the wide-character string pointed to by ''s1'' and the |
|
|
27 |
wide-character string pointed to by ''s2'', but at most |
|
|
28 |
''n'' wide characters from each string, ignoring case |
|
|
29 |
differences (__towupper__, __towlower__). |
|
|
30 |
!!RETURN VALUE |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
The __wcsncasecmp__ function returns zero if the |
|
|
34 |
wide-character strings at ''s1'' and ''s2'', truncated |
|
|
35 |
to at most length ''n'', are equal except for case |
|
|
36 |
distinctions. It returns a positive integer if truncated |
|
|
37 |
''s1'' is greater than truncated ''s2'', ignoring |
|
|
38 |
case. It returns a negative integer if truncated ''s1'' |
|
|
39 |
is smaller than truncated ''s2'', ignoring |
|
|
40 |
case. |
|
|
41 |
!!CONFORMING TO |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
This function is a GNU extension. |
|
|
45 |
!!SEE ALSO |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
strncasecmp(3), wcsncmp(3) |
|
|
49 |
!!NOTES |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
The behaviour of __wcsncasecmp__ depends on the LC_CTYPE |
|
|
53 |
category of the current locale. |
|
|
54 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.