1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" %sccs.include.redist.man% 5.\" 6.\" @(#)ctype.3 8.1 (Berkeley) 06/04/93 7.\" 8.Dd 9.Dt CTYPE 3 10.Os 11.Sh NAME 12.Nm isalnum , 13.Nm isalpha , 14.Nm isascii , 15.Nm isblank , 16.Nm iscntrl , 17.Nm isdigit , 18.Nm isgraph , 19.Nm islower , 20.Nm isprint , 21.Nm ispunct , 22.Nm isspace , 23.Nm isupper , 24.Nm isxdigit , 25.Nm toascii 26.Nm tolower , 27.Nm toupper , 28.Nd character classification macros 29.Sh SYNOPSIS 30.Fd #include <ctype.h> 31.Fa int c 32.br 33.Fn isalnum "int c" 34.Fn isalpha "int c" 35.Fn isascii "int c" 36.Fn iscntrl "int c" 37.Fn isdigit "int c" 38.Fn isgraph "int c" 39.Fn islower "int c" 40.Fn isprint "int c" 41.Fn ispunct "int c" 42.Fn isspace "int c" 43.Fn isupper "int c" 44.Fn isxdigit "int c" 45.Fn toascii "int c" 46.Fn tolower "int c" 47.Fn toupper "int c" 48.Sh DESCRIPTION 49The above functions perform character tests and conversions on the integer 50.Ar c . 51They are available as macros, defined in the include file 52.Aq Pa ctype.h , 53or as true functions in the C library. 54See the specific manual pages for more information. 55.Sh SEE ALSO 56.Xr isalnum 3 , 57.Xr isalpha 3 , 58.Xr isascii 3 , 59.Xr isblank 3 , 60.Xr iscntrl 3 , 61.Xr isdigit 3 , 62.Xr isgraph 3 , 63.Xr islower 3 , 64.Xr isprint 3 , 65.Xr ispunct 3 , 66.Xr isspace 3 , 67.Xr isupper 3 , 68.Xr isxdigit 3 , 69.Xr toascii 3 , 70.Xr tolower 3 , 71.Xr toupper 3 , 72.Xr ascii 7 73.Sh STANDARDS 74These functions, except for 75.Fn isblank , 76.Fn toupper , 77.Fn tolower 78and 79.Fn toascii , 80conform to 81.St -ansiC . 82