Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1.  
  2. /*
  3. FUNCTION
  4.         <<iswlower>>---lowercase wide character test
  5.  
  6. INDEX
  7.         iswlower
  8.  
  9. ANSI_SYNOPSIS
  10.         #include <wctype.h>
  11.         int iswlower(wint_t <[c]>);
  12.  
  13. TRAD_SYNOPSIS
  14.         #include <wctype.h>
  15.         int iswlower(<[c]>)
  16.         wint_t <[c]>;
  17.  
  18. DESCRIPTION
  19. <<iswlower>> is a function which classifies wide-character values that
  20. have uppercase translations.
  21.  
  22. RETURNS
  23. <<iswlower>> returns non-zero if <[c]> is a lowercase wide character.
  24.  
  25. PORTABILITY
  26. <<iswlower>> is C99.
  27.  
  28. No supporting OS subroutines are required.
  29. */
  30. #include <_ansi.h>
  31. #include <wctype.h>
  32.  
  33. int
  34. _DEFUN(iswlower,(c),wint_t c)
  35. {
  36.         return (towupper (c) != c);
  37. }
  38.  
  39.