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.8 (Berkeley) 06/23/92 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 functions perform character tests and conversions on the integer 51.Ar c . 52They are available as macros, defined in the include file 53.Aq Pa ctype.h , 54or as true functions in the C library. 55See the specific manual pages for more information. 56.Sh SEE ALSO 57.Xr isalnum 3 , 58.Xr isalpha 3 , 59.Xr isascii 3 , 60.Xr isblank 3 , 61.Xr iscntrl 3 , 62.Xr isdigit 3 , 63.Xr isgraph 3 , 64.Xr islower 3 , 65.Xr isprint 3 , 66.Xr ispunct 3 , 67.Xr isspace 3 , 68.Xr isupper 3 , 69.Xr isxdigit 3 , 70.Xr toascii 3 , 71.Xr tolower 3 , 72.Xr toupper 3 , 73.Xr ascii 7 74.Sh STANDARDS 75These functions, except for 76.Fn isblank , 77.Fn toupper , 78.Fn tolower 79and 80.Fn toascii , 81conform to 82.St -ansiC . 83