1WCSLEN(P) POSIX Programmer's Manual WCSLEN(P)
2
3
4
6 wcslen - get wide-character string length
7
9 #include <wchar.h>
10
11 size_t wcslen(const wchar_t *ws);
12
13
15 The wcslen() function shall compute the number of wide-character codes
16 in the wide-character string to which ws points, not including the ter‐
17 minating null wide-character code.
18
20 The wcslen() function shall return the length of ws; no return value is
21 reserved to indicate an error.
22
24 No errors are defined.
25
26 The following sections are informative.
27
29 None.
30
32 None.
33
35 None.
36
38 None.
39
41 The Base Definitions volume of IEEE Std 1003.1-2001, <wchar.h>
42
44 Portions of this text are reprinted and reproduced in electronic form
45 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
46 -- Portable Operating System Interface (POSIX), The Open Group Base
47 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
48 Electrical and Electronics Engineers, Inc and The Open Group. In the
49 event of any discrepancy between this version and the original IEEE and
50 The Open Group Standard, the original IEEE and The Open Group Standard
51 is the referee document. The original Standard can be obtained online
52 at http://www.opengroup.org/unix/online.html .
53
54
55
56IEEE/The Open Group 2003 WCSLEN(P)