Welcome to mirror list, hosted at ThFree Co, Russian Federation.

isupper_l.c « ctype « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eb473a7a1d5478870c75a2dc1b26aac9503e8fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <_ansi.h>
#include <ctype.h>

#undef isupper_l

int
isupper_l (int c, struct __locale_t *locale)
{
  return (__locale_ctype_ptr_l (locale)[c+1] & (_U|_L)) == _U;
}