1.\" Copyright (c) 1991 Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" 5.\" %sccs.include.redist.man% 6.\" 7.\" @(#)ctype.3 6.7 (Berkeley) 10/24/91 8.\" 9.Dd 10.Dt CTYPE 3 11.Os 12.Sh NAME 13.Nm isalnum , 14.Nm isalpha , 15.Nm isascii , 16.Nm isblank , 17.Nm iscntrl , 18.Nm isdigit , 19.Nm isgraph , 20.Nm islower , 21.Nm isprint , 22.Nm ispunct , 23.Nm isspace , 24.Nm isupper , 25.Nm isxdigit , 26.Nm toascii 27.Nm tolower , 28.Nm toupper , 29.Nd character classification macros 30.Sh SYNOPSIS 31.Fd #include <ctype.h> 32.Fa int c 33.br 34.Fn isalnum "int c" 35.Fn isalpha "int c" 36.Fn isascii "int c" 37.Fn iscntrl "int c" 38.Fn isdigit "int c" 39.Fn isgraph "int c" 40.Fn islower "int c" 41.Fn isprint "int c" 42.Fn ispunct "int c" 43.Fn isspace "int c" 44.Fn isupper "int c" 45.Fn isxdigit "int c" 46.Fn toascii "int c" 47.Fn tolower "int c" 48.Fn toupper "int c" 49.Sh DESCRIPTION 50The above fucntions perform character tests and conversions on the integer 51.Ar c . 52They are available as macros, defined in the include file <ctype.h>, and 53as 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