148909Scael.\" Copyright (c) 1991 The Regents of the University of California. 248909Scael.\" 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*51387Sbostic.\" @(#)isupper.3 5.3 (Berkeley) 10/23/91 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 21*51387Sbostic.Fn supper "int c"; 2248909Scael.Sh DESCRIPTION 2348909ScaelThe 2448909Scael.Fn isupper 2548909Scaelfunction tests for any upper-case letter or any of an 2648909Scaelimplementation-defined set of characters for which none of 2748909Scael.Xr iscntrl 3 , 2848909Scael.Xr isdigit 3 , 2948909Scael.Xr ispunct 3 , 3048909Scaelor 3148909Scael.Xr isspace 3 3248909Scaelis true. 3348909ScaelIn the 3448909Scael.Em ``C'' 3548909Scaellocale, 3648909Scael.Fn isupper 3748909Scaelreturns true only for the characters defined as upper-case letters. 3848909Scael.Sh RETURN VALUES 3948909ScaelThe 4048909Scael.Fn isupper 41*51387Sbosticfunction returns zero if the character tests false and 4248909Scaelreturns non-zero if the character tests true. 4348909Scael.Sh SEE ALSO 44*51387Sbostic.Xr ctype 3 , 4548909Scael.Xr ascii 7 4648909Scael.Sh STANDARDS 4748909ScaelThe 4848909Scael.Xr isupper 4948909Scaelfunction conforms to 5048909Scael.St -ansiC . 51