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: 1fdcf107277ec7a260814c8138a1e51dc907b9a1 (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] & (_ISupper|_ISlower)) == _ISupper;
}