Chapter Contents

Previous

Next
wctype

wctype



Construct Wide Character Property

Portability: ISO ANSI conforming, SAS/C extension


SYNOPSIS
DESCRIPTION
RETURN VALUE
CAUTION
RELATED FUNCTIONS
SEE ALSO


SYNOPSIS

#include <wctype.h>

wctype_t wctype(const char *property)


DESCRIPTION

wctype constructs a value with type wctype_t that describes a class of wide characters identified by the string argument property. The following strings are valid arguments for property:
"alnum"
"alpha"
"cntrl"
"digit"
"graph"
"lower"
"print"
"punct"
"space"
"upper"
"xdigit"


RETURN VALUE

wctype returns a nonzero value that represents a class of wide characters as validly described by property. If a valid property value is not specified, a zero value is returned. If property is valid, the returned value is valid as the second argument to the iswctype function.


CAUTION

None.


RELATED FUNCTIONS

iswalnum, iswalpha, iswcntrl, iswdigit, iswgraph, iswlower, iswprint, iswpunct, iswspace, iswctype, iswupper, iswxdigit


SEE ALSO


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.