WCSNLEN(3) NEWLIB WCSNLEN(3)NAME
7.21 `wcsnlen'--get fixed-size wide-character string length
SYNOPSIS
#include <wchar.h>
size_t wcsnlen(const wchar_t *S, size_t MAXLEN);
DESCRIPTION
The `wcsnlen' function computes the number of wide-character codes in
the wide-character string pointed to by S not including the terminating
L' ' wide character but at most MAXLEN wide characters.
RETURNS
`wcsnlen' returns the length of S if it is less then MAXLEN, or MAXLEN
if there is no L' ' wide character in first MAXLEN characters.
PORTABILITY
`wcsnlen' is a GNU extension.
`wcsnlen' requires no supporting OS subroutines.
SEE ALSOwcsnlen is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 WCSNLEN(3)