Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/string/wide/wcscspn"

From cppreference.com
< cpp‎ | string‎ | wide
m (r2.7.3) (Robot: Adding de, es, fr, it, ja, pt, ru, zh)
m (Shorten template names. Use {{lc}} where appropriate.)
Line 8: Line 8:
  
 
===Parameters===
 
===Parameters===
{{param list begin}}
+
{{par begin}}
{{param list item | dest | pointer to the null-terminated wide string to be analyzed}}
+
{{par | dest | pointer to the null-terminated wide string to be analyzed}}
{{param list item | src | pointer to the null-terminated wide string that contains the characters to search for}}
+
{{par | src | pointer to the null-terminated wide string that contains the characters to search for}}
{{param list end}}
+
{{par end}}
  
 
===Return value===
 
===Return value===
Line 24: Line 24:
  
 
===See also===
 
===See also===
{{dcl list begin}}
+
{{dsc begin}}
{{dcl list template | cpp/string/wide/dcl list wcsspn}}
+
{{dsc inc | cpp/string/wide/dcl list wcsspn}}
{{dcl list template | cpp/string/wide/dcl list wcspbrk}}
+
{{dsc inc | cpp/string/wide/dcl list wcspbrk}}
{{dcl list see c | c/string/wide/wcscspn}}
+
{{dsc see c | c/string/wide/wcscspn}}
{{dcl list end}}
+
{{dsc end}}
  
 
[[de:cpp/string/wide/wcscspn]]
 
[[de:cpp/string/wide/wcscspn]]

Revision as of 19:58, 31 May 2013

Defined in header <cwchar>
std::size_t wcscspn( const wchar_t* dest, const wchar_t* src );

Returns the length of the maximum initial segment of the wide string pointed to by dest, that consists of only the characters not found in wide string pointed to by src.

Contents

Parameters

dest - pointer to the null-terminated wide string to be analyzed
src - pointer to the null-terminated wide string that contains the characters to search for

Return value

The length of the maximum initial segment that contains only characters not found in the character string pointed to by src

Example

See also

Template:cpp/string/wide/dcl list wcsspnTemplate:cpp/string/wide/dcl list wcspbrk
C documentation for wcscspn