iswpunct

Tests for a wide-character code to determine whether it is a punctuation mark such as a comma (,) or a period (.) in the current locale.

Library:LibC
Classification:ANSI
Service:Characters and Strings

Syntax

  #include <wctype.h> 
   
  int  iswpunct (
     wint_t   wc);
  

Parameters

wc

(IN) Specifies the wide-character code to test.

Return Values

Returns a nonzero value when the wc argument is a punctuation mark in the current locale. Otherwise, it returns zero.

See Also