WCSNLEN

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
SEE ALSO

NAME

wcsnlen - determine the length of a fixed-size wide-character string

SYNOPSIS

#include
s, size_tmaxlen);

DESCRIPTION

The wcsnlen function is the wide-character equivalent
of the strnlen function. It returns the number of
wide-characters in the string pointed to by s, not
including the terminating L'0' character, but at most
maxlen. In doing this, wcsnlen looks only at
the first maxlen wide-characters at s and
never beyond s+maxlen.

RETURN VALUE

The wcsnlen function returns wcslen(s), if
that is less than maxlen, or maxlen if there
is no L'0' character among the first maxlen wide
characters pointed to by s.

Please note that any user can change the contents of pages on this site,
and therefore the Waikato Linux Users Group can offer no assurances that
the information is correct, and the information on this site is not
necessarily the opinion of the Waikato Linux Users Group, or any of its
members. If you have any complaints about the contents of this page,
please do not hesitate to contact the Waikato Linux Users Group, or, click
the Edit button!

Unless otherwise noted, all pages on this site are licensed under the
WlugWikiLicense.