Annotated edit history of
wcsnlen(3) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
WCSNLEN |
|
|
2 |
!!!WCSNLEN |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
wcsnlen - determine the length of a fixed-size wide-character string |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__#include |
|
|
18 |
__''s''__, size_t__ ''maxlen''__); |
|
|
19 |
__ |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
The __wcsnlen__ function is the wide-character equivalent |
|
|
24 |
of the __strnlen__ function. It returns the number of |
|
|
25 |
wide-characters in the string pointed to by ''s'', not |
|
|
26 |
including the terminating L'0' character, but at most |
|
|
27 |
''maxlen''. In doing this, __wcsnlen__ looks only at |
|
|
28 |
the first ''maxlen'' wide-characters at ''s'' and |
|
|
29 |
never beyond ''s+maxlen''. |
|
|
30 |
!!RETURN VALUE |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
The __wcsnlen__ function returns ''wcslen(s)'', if |
|
|
34 |
that is less than ''maxlen'', or ''maxlen'' if there |
|
|
35 |
is no L'0' character among the first ''maxlen'' wide |
|
|
36 |
characters pointed to by ''s''. |
|
|
37 |
!!CONFORMING TO |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
This function is a GNU extension. |
|
|
41 |
!!SEE ALSO |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
strnlen(3), wcslen(3) |
|
|
45 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.