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

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

WCSSPN(3)

Contents


NAME    [Toc]    [Back]

       wcsspn  -  advance in a wide-character string, skipping any of a set of
       wide characters

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

       wcsspn (const wchar_t *wcs, const wchar_t *accept);

DESCRIPTION    [Toc]    [Back]

       The wcsspn function is the  wide-character  equivalent  of  the	strspn
       function.  It  determines  the length of the longest initial segment of
       wcs which consists entirely of wide-characters  listed  in  accept.  In
       other words, it searches for the first occurrence in the wide-character
       string wcs of a wide-character  not  contained  in  the	wide-character
       string accept.

RETURN VALUE    [Toc]    [Back]

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

CONFORMING TO    [Toc]    [Back]

       ISO/ANSI C, UNIX98

SEE ALSO    [Toc]    [Back]

      
      
       strspn(3), wcscspn(3)



GNU				  1999-07-25			     WCSSPN(3)
[ Back ]
 Similar pages
Name OS Title
wcspbrk Linux search a wide-character string for any of a set of wide characters
wcscspn Linux search a wide-character string for any of a set of wide characters
wmemset Linux fill an array of wide-characters with a constant wide character
wcschr Linux search a wide character in a wide-character string
wcsrchr Linux search a wide character in a wide-character string
getcchar Tru64 Get a wide character string and rendition from a cchar_t or set a cchar_t from a wide-character stri...
setcchar 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
wcsrtombs NetBSD converts a wide character string to a multibyte character string (restartable)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service