*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> wcslen (3)              



NAME    [Toc]    [Back]

       wcslen - Find length of wide-character string

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

       size_t wcslen(
               const wchar_t *wstr );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       wcslen(): XSH5.0

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

PARAMETERS    [Toc]    [Back]

       Specifies the wide-character string.

DESCRIPTION    [Toc]    [Back]

       The  wcslen()  function returns the number of wide characters,
 excluding the terminating null  wide  character,  in
       the string pointed to by the wstr parameter.

RETURN VALUES    [Toc]    [Back]

       Upon  successful completion, the wcslen() function returns
       the number of wide characters in the string to  which  the
       wstr parameter points.

       [Tru64  UNIX]  The function returns (size_t)-1 if *wstr is
       not a valid pointer.

SEE ALSO    [Toc]    [Back]

       Functions: mbstowcs(3), string(3),  strlen(3),  wcscat(3),
       wcsstr(3), wcswcs(3)

       Others: standards(5)

[ Back ]
 Similar pages
Name OS Title
wcslen Linux determine the length of a wide-character string
wcsnlen Linux determine the length of a fixed-size wide-character string
strlen FreeBSD find length of string
strlen Tru64 Find the length of a string
strlen OpenBSD find length of a string
strlen NetBSD find length of string
wcsstr Tru64 Find a wide-character substring
wcsrtombs NetBSD converts a wide character string to a multibyte character string (restartable)
mbsrtowcs NetBSD converts a multibyte character string to a wide character string (restartable)
wcsspn Linux advance in a wide-character string, skipping any of a set of wide characters
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service