xref: /csrg-svn/lib/libc/locale/isprint.3 (revision 50304)
148907Scael.\" Copyright (c) 1991 The Regents of the University of California.
248907Scael.\" All rights reserved.
348907Scael.\"
4*50304Sbostic.\" This code is derived from software contributed to Berkeley by
5*50304Sbostic.\" the American National Standards Committee X3, on Information
6*50304Sbostic.\" Processing Systems.
7*50304Sbostic.\"
848907Scael.\" %sccs.include.redist.man%
948907Scael.\"
10*50304Sbostic.\"     @(#)isprint.3	5.2 (Berkeley) 06/29/91
1148907Scael.\"
1248907Scael.Dd
1348907Scael.Dt ISPRINT 3
1448907Scael.Os
1548907Scael.Sh NAME
1648907Scael.Nm isprint
1748907Scael.Nd printing character test (space character inclusive)
1848907Scael.Sh SYNOPSIS
1948907Scael.Fd #include <ctype.h>
2048907Scael.Ft int
2148907Scael.Fn isprint "int c"
2248907Scael.Sh DESCRIPTION
2348907ScaelThe
2448907Scael.Fn isprint
2548907Scaelfunction tests for any printing character including space (' ').
2648907Scael.Sh RETURN VALUES
2748907ScaelThe
2848907Scael.Fn isprint
2948907Scaelmacro returns zero if the character tests false and
3048907Scaelreturns non-zero if the character tests true.
3148907Scael.Sh SEE ALSO
3248907Scael.Xr isascii 3 ,
3348907Scael.Xr isalnum 3 ,
3448907Scael.Xr isalpha 3 ,
3548907Scael.Xr iscntrl 3 ,
3648907Scael.Xr isdigit 3 ,
3748907Scael.Xr isgraph 3 ,
3848907Scael.Xr islower 3 ,
3948907Scael.Xr ispunct 3 ,
4048907Scael.Xr isspace 3 ,
4148907Scael.Xr isupper 3 ,
4248907Scael.Xr isxdigit 3 ,
4348907Scael.Xr toascii 3 ,
4448907Scael.Xr tolower 3 ,
4548907Scael.Xr toupper 3 ,
4648907Scael.Xr stdio 3
4748907Scael.Xr ascii 7
4848907Scael.Sh STANDARDS
4948907ScaelThe
5048907Scael.Fn isprint
5148907Scaelfunction conforms to
5248907Scael.St -ansiC .
53