Chapter Contents

Previous

Next
iswctype

iswctype



Wide Character Attribute Test

Portability: ISO ANSI conforming


SYNOPSIS
DESCRIPTION
RETURN VALUE
CAUTION
RELATED FUNCTIONS
SEE ALSO


SYNOPSIS

#include <wctype.h>

int iswctype(wint_t wc, wctype_t desc)


DESCRIPTION

iswctype tests a wide character value wc for a property constructed by the wctype function. The return value indicates whether the wide character has the property specified by the desc argument.


RETURN VALUE

iswctype returns 0 if the wide character does not have the property of the value supplied by desc, or a nonzero value if it does have that property. If the supplied property is invalid, iswctype returns 0. If the argument is WEOF, 0 is returned.


CAUTION

The effect of iswctype on a non-wide character argument other than WEOF is undefined. Do not assume that iswctype returns either a 0 or a 1.


RELATED FUNCTIONS

wctype


SEE ALSO


Chapter Contents

Previous

Next

Top of Page

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