Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / ctype / iswupper.c
blob96b5a0c842c2c05e516530a1dfba07020283d229
1 /*
2 FUNCTION
3 <<iswupper>>, <<iswupper_l>>---uppercase wide character test
5 INDEX
6 iswupper
8 INDEX
9 iswupper_l
11 SYNOPSIS
12 #include <wctype.h>
13 int iswupper(wint_t <[c]>);
15 #include <wctype.h>
16 int iswupper_l(wint_t <[c]>, locale_t <[locale]>);
18 DESCRIPTION
19 <<iswupper>> is a function which classifies wide-character values that
20 are categorized as uppercase.
22 <<iswupper_l>> is like <<iswupper>> but performs the check based on the
23 locale specified by the locale object locale. If <[locale]> is
24 LC_GLOBAL_LOCALE or not a valid locale object, the behaviour is undefined.
26 RETURNS
27 <<iswupper>>, <<iswupper_l>> return non-zero if <[c]> is an uppercase wide character.
29 PORTABILITY
30 <<iswupper>> is C99.
31 <<iswupper_l>> is POSIX-1.2008.
33 No supporting OS subroutines are required.
35 #include <_ansi.h>
36 #include <wctype.h>
38 int
39 iswupper (wint_t c)
41 return iswupper_l (c, 0);