Namespaces
Variants
Views
Actions

Null-terminated wide strings

From cppreference.com
< c‎ | string
Revision as of 15:55, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
Null-terminated wide strings
Functions
Character manipulation
(C95)
(C95)
Conversions to numeric formats
(C95)(C99)
(C95)(C99)
(C99)(C95)(C99)
String manipulation
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
(C95)
Array manipulation
(C95)
(C95)
(C95)
(C95)
 

A null-terminated wide string is a sequence of valid wide characters, ending with a null-character.

Contents

Functions

Template:c/string/wide/dcl list iswalnumTemplate:c/string/wide/dcl list iswalphaTemplate:c/string/wide/dcl list iswlowerTemplate:c/string/wide/dcl list iswupperTemplate:c/string/wide/dcl list iswdigitTemplate:c/string/wide/dcl list iswxdigitTemplate:c/string/wide/dcl list iswcntrlTemplate:c/string/wide/dcl list iswgraphTemplate:c/string/wide/dcl list iswspaceTemplate:c/string/wide/dcl list iswblankTemplate:c/string/wide/dcl list iswprintTemplate:c/string/wide/dcl list iswpunctTemplate:c/string/wide/dcl list iswctypeTemplate:c/string/wide/dcl list wctypeTemplate:c/string/wide/dcl list towlowerTemplate:c/string/wide/dcl list towupperTemplate:c/string/wide/dcl list towctransTemplate:c/string/wide/dcl list wctrans
Character classification
Defined in header <wctype.h>
Character manipulation
Defined in header <wctype.h>
ASCII values
(hex)
characters

iscntrl
iswcntrl

isprint
iswprint

isspace
iswspace

isblank
iswblank

isgraph
iswgraph

ispunct
iswpunct

isalnum
iswalnum

isalpha
iswalpha

isupper
iswupper

islower
iswlower

isdigit
iswdigit

isxdigit
iswxdigit

0 - 8 0x00-0x08 control codes (NUL, etc.) ≠0 0 0 0 0 0 0 0 0 0 0 0
9 0x09 tab (\t) ≠0 0 ≠0 ≠0 0 0 0 0 0 0 0 0
10 - 13 0x0A-0x0D whitespaces (\n,\v,\f,\r) ≠0 0 ≠0 0 0 0 0 0 0 0 0 0
14 - 31 0x0E-0x1F control codes ≠0 0 0 0 0 0 0 0 0 0 0 0
32 0x20 space 0 ≠0 ≠0 ≠0 0 0 0 0 0 0 0 0
33 - 47 0x21-0x2F !"#$%&'()*+,-./ 0 ≠0 0 0 ≠0 ≠0 0 0 0 0 0 0
48 - 57 0x30-0x39 0123456789 0 ≠0 0 0 ≠0 0 ≠0 0 0 0 ≠0 ≠0
58 - 64 0x3a-0x40 :;<=>?@ 0 ≠0 0 0 ≠0 ≠0 0 0 0 0 0 0
65 - 70 0x41-0x46 ABCDEF 0 ≠0 0 0 ≠0 0 ≠0 ≠0 ≠0 0 0 ≠0
71 - 90 0x47-0x5A GHIJKLMNOPQRSTUVWXYZ 0 ≠0 0 0 ≠0 0 ≠0 ≠0 ≠0 0 0 0
91 - 96 0x5B-0x60 [\]^_` 0 ≠0 0 0 ≠0 ≠0 0 0 0 0 0 0
97 -102 0x61-0x66 abcdef 0 ≠0 0 0 ≠0 0 ≠0 ≠0 0 ≠0 0 ≠0
103-122 0x67-0x7A ghijklmnopqrstuvwxyz 0 ≠0 0 0 ≠0 0 ≠0 ≠0 0 ≠0 0 0
123-126 0x7B-0x7E {|}~ 0 ≠0 0 0 ≠0 ≠0 0 0 0 0 0 0
127 0x7F backspace character (DEL) ≠0 0 0 0 0 0 0 0 0 0 0 0
Template:c/string/wide/dcl list wcstolTemplate:c/string/wide/dcl list wcstoulTemplate:c/string/wide/dcl list wcstofTemplate:c/string/wide/dcl list wcstoimax
Conversions to numeric formats
Defined in header <wchar.h>
Defined in header <inttypes.h>
Template:c/string/wide/dcl list wcscpyTemplate:c/string/wide/dcl list wcsncpyTemplate:c/string/wide/dcl list wcscatTemplate:c/string/wide/dcl list wcsncatTemplate:c/string/wide/dcl list wcsxfrmTemplate:c/string/wide/dcl list wcslenTemplate:c/string/wide/dcl list wcscmpTemplate:c/string/wide/dcl list wcsncmpTemplate:c/string/wide/dcl list wcscollTemplate:c/string/wide/dcl list wcschrTemplate:c/string/wide/dcl list wcsrchrTemplate:c/string/wide/dcl list wcsspnTemplate:c/string/wide/dcl list wcscspnTemplate:c/string/wide/dcl list wcspbrkTemplate:c/string/wide/dcl list wcsstrTemplate:c/string/wide/dcl list wcstok
String manipulation
Defined in header <wchar.h>
String examination
Defined in header <wchar.h>
Template:c/string/wide/dcl list wmemcpyTemplate:c/string/wide/dcl list wmemmoveTemplate:c/string/wide/dcl list wmemcmpTemplate:c/string/wide/dcl list wmemchrTemplate:c/string/wide/dcl list wmemset
Wide character array manipulation
Defined in header <wchar.h>

Types

Defined in header <wctype.h>
wctrans_t scalar type that holds locale-specific character mapping
wctype_t scalar type that holds locale-specific character classification
wint_t integer type that can hold any valid wide character and at least one more value

Macros

Defined in header <wchar.h>
WEOF
a non-character value of type wint_t used to indicate errors
(macro constant)
WCHAR_MIN
the smallest valid value of wchar_t
(macro constant)
WCHAR_MAX
the largest valid value of wchar_t
(macro constant)