OpenBSD manual page server

Manual Page Search Parameters

WCSLEN(3) Library Functions Manual WCSLEN(3)

wcslenfind length of a wide string

#include <wchar.h>

size_t
wcslen(const wchar_t *s);

The () function computes the length of the wide string s.

The wcslen() function returns the number of wide characters that precede the terminating null wide character.

strlen(3), wcswidth(3)

The wcslen() function conforms to ISO/IEC 9899:1999 (“ISO C99”) and was first introduced in ISO/IEC 9899/AMD1:1995 (“ISO C90, Amendment 1”).

The wcslen() function was ported from NetBSD and first appeared in OpenBSD 3.8.

June 5, 2013 OpenBSD-6.0