<< Previous | Next >>

ispunct

int ispunct( int c );

Description

Tests for a punctuation character.

Character

Decimal Code

space 32
! " # $ % & ' ( ) * + , - . / 33 <= c <= 47
: ; < = > ? @ 58 <= c <= 64
[\] ^ _ ` 91 <= c <= 96
{|} ~ 123 <= c <= 126

Parameters

c
Character to test.

Return value

 0: Not a character.
!0: Is a character.

Library

STRING.LIB

See also

isspace


Dynamic C Functions << Previous | Next >> rabbit.com