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