OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [ctype/] [iswupper.c] - Rev 207

Compare with Previous | Blame | View Log

 
/*
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);
}
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.