1*61137Sbostic.\" Copyright (c) 1991, 1993 2*61137Sbostic.\" The Regents of the University of California. All rights reserved. 348909Scael.\" 450305Sbostic.\" This code is derived from software contributed to Berkeley by 550305Sbostic.\" the American National Standards Committee X3, on Information 650305Sbostic.\" Processing Systems. 750305Sbostic.\" 848909Scael.\" %sccs.include.redist.man% 948909Scael.\" 10*61137Sbostic.\" @(#)isupper.3 8.1 (Berkeley) 06/04/93 1148909Scael.\" 1248909Scael.Dd 1348909Scael.Dt ISUPPER 3 1448909Scael.Os 1548909Scael.Sh NAME 1648909Scael.Nm isupper 1748909Scael.Nd upper-case character test 1848909Scael.Sh SYNOPSIS 1948909Scael.Fd #include <ctype.h> 2048909Scael.Ft int 2152144Sbostic.Fn isupper "int c"; 2248909Scael.Sh DESCRIPTION 2348909ScaelThe 2448909Scael.Fn isupper 2551409Sbosticfunction tests for any upper-case letter. 2651409SbosticIn the ASCII character set, this includes the following characters: 2751409Sbostic.sp 2851409Sbostic.Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ 2951409Sbostic.It \&101\ ``A'' \t102\ ``B'' \t103\ ``C'' \t104\ ``D'' \t105\ ``E'' 3051409Sbostic.It \&106\ ``F'' \t107\ ``G'' \t110\ ``H'' \t111\ ``I'' \t112\ ``J'' 3151409Sbostic.It \&113\ ``K'' \t114\ ``L'' \t115\ ``M'' \t116\ ``N'' \t117\ ``O'' 3251409Sbostic.It \&120\ ``P'' \t121\ ``Q'' \t122\ ``R'' \t123\ ``S'' \t124\ ``T'' 3351409Sbostic.It \&125\ ``U'' \t126\ ``V'' \t127\ ``W'' \t130\ ``X'' \t131\ ``Y'' 3451409Sbostic.It \&132\ ``Z'' 3551409Sbostic.El 3648909Scael.Sh RETURN VALUES 3748909ScaelThe 3848909Scael.Fn isupper 3951387Sbosticfunction returns zero if the character tests false and 4048909Scaelreturns non-zero if the character tests true. 4148909Scael.Sh SEE ALSO 4251387Sbostic.Xr ctype 3 , 4348909Scael.Xr ascii 7 4448909Scael.Sh STANDARDS 4548909ScaelThe 4648909Scael.Xr isupper 4748909Scaelfunction conforms to 4848909Scael.St -ansiC . 49