cpp/string/byte/ispunct

Checks if the given character is a punctuation character as classified by the current C locale. The default C locale classifies the characters as punctuation.

The behavior is undefined if the value of is not representable as  and is not equal to.

Return value
Non-zero value if the character is a punctuation character, zero otherwise.