.TH ispunct() "" "" "ctype Function (libc)"
.PC "Check if a character is a punctuation mark"
\fB#include <ctype.h>\fR
\fBint ispunct(\fIc\^\fB) int \fIc\^\fB;\fR
.PP
.B ispunct()
tests whether
the argument \fIc\fR 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.
.B ispunct()
assumes that \fIc\fR is an ASCII character or
.BR EOF .
.SH Example
For an example of how to use this macro, see the entry for
.BR ctype.h .
.SH "See Also"
.Xr "ASCII," ascii
.Xr "libc" libc
.br
\*(AS, \(sc7.3.1.8
.br
\*(PX Standard, \(sc8.1
