wcsnlen (3) Linux Manual Page
wcsnlen – determine the length of a fixed-size wide-character string
Synopsis
#include <wchar.h>
size_t wcsnlen(const wchar_t *s, size_t maxlen);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)): wcsnlen():
-
- Since glibc 2.10:
- _POSIX_C_SOURCE >= 200809L
- Before glibc 2.10:
- _GNU_SOURCE
Description
The wcsnlen() function is the wide-character equivalent of the strnlen(3) function. It returns the number of wide-characters in the string pointed to by s, not including the terminating null wide character (L’
