1.\" Copyright (c) 1991 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" %sccs.include.redist.man% 9.\" 10.\" @(#)ispunct.3 5.3 (Berkeley) 10/23/91 11.\" 12.Dd 13.Dt ISPUNCT 3 14.Os 15.Sh NAME 16.Nm ispunct 17.Nd punctuation character test 18.Sh SYNOPSIS 19.Fd #include <ctype.h> 20.Ft int 21.Fn ispunct "int c"; 22.Sh DESCRIPTION 23The 24.Fn ispunct 25function tests for any printing character except space (' ') or a 26character for which 27.Xr isalnum 3 28is true. 29.Sh RETURN VALUES 30The 31.Fn ispunct 32function returns zero if the character tests false and 33returns non-zero if the character tests true. 34.Sh SEE ALSO 35.Xr ctype 3 , 36.Xr ascii 7 37.Sh STANDARDS 38The 39.Fn ispunct 40function conforms to 41.St -ansiC . 42