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.5 (Berkeley) 04/19/91 8.\" 9.Dd 10.Dt CTYPE 3 11.Os 12.Sh NAME 13.Nm isalpha , 14.Nm isupper , 15.Nm islower , 16.Nm isdigit , 17.Nm isxdigit , 18.Nm isalnum , 19.Nm isspace , 20.Nm ispunct , 21.Nm isprint , 22.Nm isgraph , 23.Nm iscntrl , 24.Nm isascii , 25.Nm toupper , 26.Nm tolower , 27.Nm toascii 28.Nd character classification macros 29.Sh SYNOPSIS 30.Fd #include <ctype.h> 31.Fa int c 32.br 33.Fn isalpha c 34.Fn isupper c 35.Fn islower c 36.Fn isdigit c 37.Fn isxdigit c 38.Fn isalnum c 39.Fn isspace c 40.Fn ispunct c 41.Fn isprint c 42.Fn isgraph c 43.Fn iscntrl c 44.Fn isascii c 45.Fn toupper c 46.Fn tolower c 47.Fn toascii c 48.Sh DESCRIPTION 49The above macros perform character tests and conversions on the integer 50.Ar c . 51.Pp 52See the specific manual pages for more information. 53.Sh SEE ALSO 54.Xr isalpha 3 , 55.Xr isupper 3 , 56.Xr islower 3 , 57.Xr isdigit 3 , 58.Xr isxdigit 3 , 59.Xr isalnum 3 , 60.Xr isspace 3 , 61.Xr ispunct 3 , 62.Xr isprint 3 , 63.Xr isgraph 3 , 64.Xr iscntrl 3 , 65.Xr isascii 3 , 66.Xr toupper 3 , 67.Xr tolower 3 , 68.Xr toascii 3 , 69.Xr ascii 7 70.Sh STANDARDS 71These functions, except for 72.Fn toupper , 73.Fn tolower 74and 75.Fn toascii , 76conform to 77.St -ansiC . 78