148904Scael.\" Copyright (c) 1989, 1991 The Regents of the University of California. 248904Scael.\" All rights reserved. 348904Scael.\" 448904Scael.\" %sccs.include.redist.man% 548904Scael.\" 6*51387Sbostic.\" @(#)isascii.3 5.2 (Berkeley) 10/23/91 748904Scael.\" 848904Scael.Dd 948904Scael.Dt ISASCII 3 1048904Scael.Os 1148904Scael.Sh NAME 1248904Scael.Nm isascii 1348904Scael.Nd test for ASCII character 1448904Scael.Sh SYNOPSIS 1548904Scael.Fd #include <ctype.h> 1648904Scael.Ft int 17*51387Sbostic.Fn isascii "int c"; 1848904Scael.Sh DESCRIPTION 1948904ScaelThe 2048904Scael.Fn isascii 2148904Scaelfunction tests for an 2248904Scael.Tn ASCII 2348904Scaelcharacter, which is any character 2448904Scaelfor which either 2548904Scael.Xr iscntrl 3 2648904Scael(character codes 000 through 037 and also including 2748904Scael0177) or 2848904Scael.Xr isprint 3 2948904Scael(character codes 040 through 0176) is true. 3048904Scael.Sh SEE ALSO 31*51387Sbostic.Xr ctype 3 , 3248904Scael.Xr ascii 7 3348904Scael.Sh STANDARDS 3448904ScaelThe 3548904Scael.Fn isascii 3648904Scaelfunction conforms to 3748904Scael.St -ansiC . 38