xref: /csrg-svn/lib/libc/locale/isgraph.3 (revision 65099)
161137Sbostic.\" Copyright (c) 1991, 1993
261137Sbostic.\"	The Regents of the University of California.  All rights reserved.
348906Scael.\"
450304Sbostic.\" This code is derived from software contributed to Berkeley by
550304Sbostic.\" the American National Standards Committee X3, on Information
650304Sbostic.\" Processing Systems.
750304Sbostic.\"
848906Scael.\" %sccs.include.redist.man%
948906Scael.\"
10*65099Smckusick.\"     @(#)isgraph.3	8.2 (Berkeley) 12/11/93
1148906Scael.\"
1248906Scael.Dd
1348906Scael.Dt ISGRAPH 3
1448906Scael.Os
1548906Scael.Sh NAME
1648906Scael.Nm isgraph
17*65099Smckusick.Nd printing character test (space character exclusive)
1848906Scael.Sh SYNOPSIS
1948906Scael.Fd #include <ctype.h>
2048906Scael.Ft int
2151387Sbostic.Fn isgraph "int c";
2248906Scael.Sh DESCRIPTION
2348906ScaelThe
2448906Scael.Fn isgraph
2551409Sbosticfunction tests for any printing character except space.
2651409SbosticIn the ASCII character set, this includes the following characters:
2751409Sbostic.sp
2851409Sbostic.Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__
2951409Sbostic.It \&041\ ``!'' \t042\ ``"'' \t043\ ``#'' \t044\ ``$'' \t045\ ``%''
3051409Sbostic.It \&046\ ``&'' \t047\ ``''' \t050\ ``('' \t051\ ``)'' \t052\ ``*''
3151409Sbostic.It \&053\ ``+'' \t054\ ``,'' \t055\ ``-'' \t056\ ``.'' \t057\ ``/''
3251409Sbostic.It \&060\ ``0'' \t061\ ``1'' \t062\ ``2'' \t063\ ``3'' \t064\ ``4''
3351409Sbostic.It \&065\ ``5'' \t066\ ``6'' \t067\ ``7'' \t070\ ``8'' \t071\ ``9''
3451409Sbostic.It \&072\ ``:'' \t073\ ``;'' \t074\ ``<'' \t075\ ``='' \t076\ ``>''
3551409Sbostic.It \&077\ ``?'' \t100\ ``@'' \t101\ ``A'' \t102\ ``B'' \t103\ ``C''
3651409Sbostic.It \&104\ ``D'' \t105\ ``E'' \t106\ ``F'' \t107\ ``G'' \t110\ ``H''
3751409Sbostic.It \&111\ ``I'' \t112\ ``J'' \t113\ ``K'' \t114\ ``L'' \t115\ ``M''
3851409Sbostic.It \&116\ ``N'' \t117\ ``O'' \t120\ ``P'' \t121\ ``Q'' \t122\ ``R''
3951409Sbostic.It \&123\ ``S'' \t124\ ``T'' \t125\ ``U'' \t126\ ``V'' \t127\ ``W''
4051409Sbostic.It \&130\ ``X'' \t131\ ``Y'' \t132\ ``Z'' \t133\ ``['' \t134\ ``\''
4151409Sbostic.It \&135\ ``]'' \t136\ ``^'' \t137\ ``_'' \t140\ ```'' \t141\ ``a''
4251409Sbostic.It \&142\ ``b'' \t143\ ``c'' \t144\ ``d'' \t145\ ``e'' \t146\ ``f''
4351409Sbostic.It \&147\ ``g'' \t150\ ``h'' \t151\ ``i'' \t152\ ``j'' \t153\ ``k''
4451409Sbostic.It \&154\ ``l'' \t155\ ``m'' \t156\ ``n'' \t157\ ``o'' \t160\ ``p''
4551409Sbostic.It \&161\ ``q'' \t162\ ``r'' \t163\ ``s'' \t164\ ``t'' \t165\ ``u''
4651409Sbostic.It \&166\ ``v'' \t167\ ``w'' \t170\ ``x'' \t171\ ``y'' \t172\ ``z''
4751409Sbostic.It \&173\ ``{'' \t174\ ``|'' \t175\ ``}'' \t176\ ``~''
4851409Sbostic.El
4948906Scael.Sh RETURN VALUES
5048906ScaelThe
5148906Scael.Fn isgraph
5251387Sbosticfunction returns zero if the character tests false and
5348906Scaelreturns non-zero if the character tests true.
5448906Scael.Sh SEE ALSO
5551387Sbostic.Xr ctype 3 ,
5648906Scael.Xr ascii 7
5748906Scael.Sh STANDARDS
5848906ScaelThe
5948906Scael.Fn isgraph
6048906Scaelfunction conforms to
6148906Scael.St -ansiC .
62