xref: /original-bsd/lib/libc/locale/isupper.3 (revision 22f7d534)
1*22f7d534Sbostic.\" Copyright (c) 1991, 1993
2*22f7d534Sbostic.\"	The Regents of the University of California.  All rights reserved.
3b6d814a7Scael.\"
405c89e53Sbostic.\" This code is derived from software contributed to Berkeley by
505c89e53Sbostic.\" the American National Standards Committee X3, on Information
605c89e53Sbostic.\" Processing Systems.
705c89e53Sbostic.\"
8b6d814a7Scael.\" %sccs.include.redist.man%
9b6d814a7Scael.\"
10*22f7d534Sbostic.\"     @(#)isupper.3	8.1 (Berkeley) 06/04/93
11b6d814a7Scael.\"
12b6d814a7Scael.Dd
13b6d814a7Scael.Dt ISUPPER 3
14b6d814a7Scael.Os
15b6d814a7Scael.Sh NAME
16b6d814a7Scael.Nm isupper
17b6d814a7Scael.Nd upper-case character test
18b6d814a7Scael.Sh SYNOPSIS
19b6d814a7Scael.Fd #include <ctype.h>
20b6d814a7Scael.Ft int
2105690998Sbostic.Fn isupper "int c";
22b6d814a7Scael.Sh DESCRIPTION
23b6d814a7ScaelThe
24b6d814a7Scael.Fn isupper
2572dbba0eSbosticfunction tests for any upper-case letter.
2672dbba0eSbosticIn the ASCII character set, this includes the following characters:
2772dbba0eSbostic.sp
2872dbba0eSbostic.Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__
2972dbba0eSbostic.It \&101\ ``A'' \t102\ ``B'' \t103\ ``C'' \t104\ ``D'' \t105\ ``E''
3072dbba0eSbostic.It \&106\ ``F'' \t107\ ``G'' \t110\ ``H'' \t111\ ``I'' \t112\ ``J''
3172dbba0eSbostic.It \&113\ ``K'' \t114\ ``L'' \t115\ ``M'' \t116\ ``N'' \t117\ ``O''
3272dbba0eSbostic.It \&120\ ``P'' \t121\ ``Q'' \t122\ ``R'' \t123\ ``S'' \t124\ ``T''
3372dbba0eSbostic.It \&125\ ``U'' \t126\ ``V'' \t127\ ``W'' \t130\ ``X'' \t131\ ``Y''
3472dbba0eSbostic.It \&132\ ``Z''
3572dbba0eSbostic.El
36b6d814a7Scael.Sh RETURN VALUES
37b6d814a7ScaelThe
38b6d814a7Scael.Fn isupper
39a8b77666Sbosticfunction returns zero if the character tests false and
40b6d814a7Scaelreturns non-zero if the character tests true.
41b6d814a7Scael.Sh SEE ALSO
42a8b77666Sbostic.Xr ctype 3 ,
43b6d814a7Scael.Xr ascii 7
44b6d814a7Scael.Sh STANDARDS
45b6d814a7ScaelThe
46b6d814a7Scael.Xr isupper
47b6d814a7Scaelfunction conforms to
48b6d814a7Scael.St -ansiC .
49