Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


ispunct()             ctype Macro (ctype.h)             ispunct()




Check if a character is a punctuation mark

#include <ctype.h>
int ispunct(c) int c;

ispunct tests whether the argument c is a punctuation mark, i.e.,
neither an  alphanumeric character  nor a control  character.  It
returns a  number other  than zero if  the character tested  is a
punctuation mark, and zero if  it is not.  ispunct assumes that c
is an ASCII character or EOF.

***** Example *****

For an example of how to use this macro, see the entry for ctype.

***** See Also *****

ASCII, ctype






































COHERENT Lexicon                                           Page 1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026