mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-10 03:54:48 +00:00
39 lines
595 B
C
39 lines
595 B
C
|
|
/*
|
|
FUNCTION
|
|
<<iswupper>>---uppercase wide character test
|
|
|
|
INDEX
|
|
iswupper
|
|
|
|
ANSI_SYNOPSIS
|
|
#include <wctype.h>
|
|
int iswupper(wint_t <[c]>);
|
|
|
|
TRAD_SYNOPSIS
|
|
#include <wctype.h>
|
|
int iswupper(<[c]>)
|
|
wint_t <[c]>;
|
|
|
|
DESCRIPTION
|
|
<<iswupper>> is a function which classifies wide-character values that
|
|
have uppercase translations.
|
|
|
|
RETURNS
|
|
<<iswupper>> returns non-zero if <[c]> is a uppercase wide character.
|
|
|
|
PORTABILITY
|
|
<<iswupper>> is C99.
|
|
|
|
No supporting OS subroutines are required.
|
|
*/
|
|
#include <_ansi.h>
|
|
#include <wctype.h>
|
|
|
|
int
|
|
_DEFUN(iswupper,(c),wint_t c)
|
|
{
|
|
return (towlower (c) != c);
|
|
}
|
|
|