*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: wcscspn | Section: 3 | Source: Digital UNIX | File: wcscspn.3.gz
wcsspn(3) Library Functions Manual wcsspn(3) NAME wcsspn, wcscspn - Return the length of the initial segment of a wide- character string LIBRARY Standard C Library (libc.so, libc.a) SYNOPSIS #include <wchar.h> size_t wcsspn( const wchar_t *wcstring1, const wchar_t *wc- string2); size_t wcscspn( const wchar_t *wcstring1, const wchar_t *wc- string2); 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 in- dustry 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 de- fined for these functions. RELATED INFORMATION Functions: setlocale(3), strspn(3), wcslen(3) Standards: standards(5) delim off wcsspn(3)

Navigation Options