wcslen#
Synopsis#
#include <wchar.h>
size_t wcslen(const wchar_t *ws);
Status#
Declared, not implemented
Conformance#
IEEE Std 1003.1-2017
Description#
The wcslen() function shall compute the number of wide-character codes in the wide-character string to which ws
points, not including the terminating null wide-character code.
The wcsnlen() function shall compute the smallest of the number of wide characters in the array to which ws
points, not including any terminating null wide-character code, and the value of maxlen. The wcsnlen() function
shall never examine more than the first max-len characters of the wide-character array pointed to by ws.
Return value#
The wcslen() function shall return the length of ws.
The wcsnlen() function shall return the number of wide characters preceding the first null wide-character code in
the array to which ws points, if ws contains a null wide-character code within the first max-len wide
characters, otherwise, it shall return max-len.
No return values are reserved to indicate an error.
Errors#
No errors are defined.
Tests#
Untested
Known bugs#
None