1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\" References consulted:
6 .\" GNU glibc-2 source code and manual
7 .\" Dinkumware C library reference http://www.dinkumware.com/
8 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
11 .TH WCSLEN 3 2021-08-27 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
13 wcslen \- determine the length of a wide-character string
16 .RI ( libc ", " \-lc )
21 .BI "size_t wcslen(const wchar_t *" s );
26 function is the wide-character equivalent
30 It determines the length of the wide-character string pointed to
33 excluding the terminating null wide character (L\(aq\e0\(aq).
38 number of wide characters in
41 For an explanation of the terms used in this section, see
49 Interface Attribute Value
52 T} Thread safety MT-Safe
58 POSIX.1-2001, POSIX.1-2008, C99.
60 In cases where the input buffer may not contain
61 a terminating null wide character,
63 should be used instead.