wcsspn man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

wcsspn(3)							     wcsspn(3)

NAME
       wcsspn,	wcscspn	 - Return the length of the initial segment of a wide-
       character string

SYNOPSIS
       #include <wchar.h>

       size_t wcsspn(
	       const wchar_t *wcstring1,
	       const wchar_t *wcstring2 ); size_t wcscspn(
	       const wchar_t *wcstring1,
	       const wchar_t *wcstring2 );

LIBRARY
       Standard C Library (libc)

STANDARDS
       Interfaces documented on this reference page conform to industry	 stan‐
       dards as follows:

       wcscspn(), wcsspn(): ISO C, XPG4

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

PARAMETERS
       Points to a wide-character string being checked for an initial segment.
       Points  to  a wide-character string containing a set of wide characters
       that define the initial segment.

DESCRIPTION
       The wcsspn() and wcscspn() functions compute the number of wide charac‐
       ters  in	 the  initial segment of a wide-character string. The wcsspn()
       function considers the initial segment to consist of all	 wide  charac‐
       ters  that are included in the set of wide characters pointed to by the
       wcstring2 parameter. The function counts these wide characters until it
       finds  one that is not included in the set. The wcscspn() function con‐
       siders the initial segment to consist of all wide characters  that  are
       not  included in the set of wide characters pointed to by the wcstring2
       parameter. The function counts these wide characters until it finds one
       that is included in the set.

RETURN VALUES
       On  successful  completion, the wcsspn() and wcscspn() functions return
       the number of wide characters in	 the  segment.	 No  error  return  is
       defined for these functions.

SEE ALSO
       Functions: setlocale(3), strspn(3), wcslen(3)

       Standards: standards(5)

								     wcsspn(3)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net