xref: /csrg-svn/lib/libc/locale/isupper.3 (revision 50305)
148909Scael.\" Copyright (c) 1991 The Regents of the University of California.
248909Scael.\" All rights reserved.
348909Scael.\"
4*50305Sbostic.\" This code is derived from software contributed to Berkeley by
5*50305Sbostic.\" the American National Standards Committee X3, on Information
6*50305Sbostic.\" Processing Systems.
7*50305Sbostic.\"
848909Scael.\" %sccs.include.redist.man%
948909Scael.\"
10*50305Sbostic.\"     @(#)isupper.3	5.2 (Berkeley) 06/29/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
2148909Scael.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
4148909Scaelmacro returns zero if the character tests false and
4248909Scaelreturns non-zero if the character tests true.
4348909Scael.Sh SEE ALSO
4448909Scael.Xr isascii 3 ,
4548909Scael.Xr isalnum 3 ,
4648909Scael.Xr isalpha 3 ,
4748909Scael.Xr iscntrl 3 ,
4848909Scael.Xr isdigit 3 ,
4948909Scael.Xr isgraph 3 ,
5048909Scael.Xr islower 3 ,
5148909Scael.Xr isprint 3 ,
5248909Scael.Xr ispunct 3 ,
5348909Scael.Xr isspace 3 ,
5448909Scael.Xr isxdigit 3 ,
5548909Scael.Xr toascii 3 ,
5648909Scael.Xr tolower 3 ,
5748909Scael.Xr toupper 3 ,
5848909Scael.Xr stdio 3
5948909Scael.Xr ascii 7
6048909Scael.Sh STANDARDS
6148909ScaelThe
6248909Scael.Xr isupper
6348909Scaelfunction conforms to
6448909Scael.St -ansiC .
65