|
safec
3.0
Safe C Library - ISO TR24731 Bounds Checking Interface
|
#include "safe_str_lib.h"
Include dependency graph for wcsnlen_s.c:Functions | |
| EXPORT rsize_t | wcsnlen_s (const wchar_t *dest, rsize_t dmax) |
| The wcsnlen_s function computes the length of the wide string pointed to by dest. More... | |
The wcsnlen_s function computes the length of the wide string pointed to by dest.
| dest | pointer to wide string |
| dmax | maximum length of wide string |
dest is NULL, then wcsnlen_s returns 0. Otherwise, the wcsnlen_s function returns the number of wide characters that precede the terminating null character. If there is no null character in the first dmax characters of dest then wcsnlen_s returns dmax. At most the first dmax characters of dest are accessed by wcsnlen_s.