Chapter Contents

Previous

Next
iswpunct

iswpunct



Punctuation Test

Portability: ISO/ANSI conforming, UNIX compatible


SYNOPSIS
DESCRIPTION
RETURN VALUE
CAUTION
RELATED FUNCTIONS
SEE ALSO


SYNOPSIS

#include <wctype.h>

int iswpunct(wint_t wc)


DESCRIPTION

iswpunct tests a wide character value wc to determine whether it is punctuation.


RETURN VALUE

iswpunct returns 0 if the wide character is not a punctuation character, or a nonzero value if it is a punctuation character. If the argument is WEOF, 0 is returned.


CAUTION

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


RELATED FUNCTIONS

iswgraph, iswprint


SEE ALSO


Chapter Contents

Previous

Next

Top of Page

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