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

  man pages->Linux man pages -> wcscspn (3)              
Title
Content
Arch
Section
 

WCSCSPN(3)

Contents


NAME    [Toc]    [Back]

       wcscspn - search a wide-character string for any of a set of wide characters

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

       size_t wcscspn (const wchar_t *wcs, const wchar_t *reject);

DESCRIPTION    [Toc]    [Back]

       The wcscspn function is the wide-character equivalent  of  the  strcspn
       function.  It  determines  the length of the longest initial segment of
       wcs which consists entirely of wide-characters not listed in reject. In
       other words, it searches for the first occurrence in the wide-character
       string wcs of any  of  the  characters  in  the	wide-character	string
       reject.

RETURN VALUE    [Toc]    [Back]

       The wcscspn function returns the number of wide characters in the longest
 initial segment of wcs which consists entirely  of  wide-characters
       not  listed  in	reject. In other words, it returns the position of the
       first occurrence in the wide-character string wcs of any of the characters
  in  the  wide-character string reject, or wcslen(wcs) if there is
       none.

CONFORMING TO    [Toc]    [Back]

       ISO/ANSI C, UNIX98

SEE ALSO    [Toc]    [Back]

      
      
       strcspn(3), wcspbrk(3), wcsspn(3)



GNU				  1999-07-25			    WCSCSPN(3)
[ Back ]
 Similar pages
Name OS Title
wcsspn Linux advance in a wide-character string, skipping any of a set of wide characters
wcsrchr Linux search a wide character in a wide-character string
wcschr Linux search a wide character in a wide-character string
wmemset Linux fill an array of wide-characters with a constant wide character
wmemchr Linux search a wide character in a wide-character array
setcchar Tru64 Get a wide character string and rendition from a cchar_t or set a cchar_t from a wide-character stri...
getcchar Tru64 Get a wide character string and rendition from a cchar_t or set a cchar_t from a wide-character stri...
curs_getcchar Tru64 Get a wide character string and rendition from a cchar_t or set a cchar_t from a wide-character stri...
wcsncpy Linux copy a fixed-size string of wide characters
mbsrtowcs NetBSD converts a multibyte character string to a wide character string (restartable)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service