//===-- toupper.c ---------------------------------------------------------===// | |
// | |
// The KLEE Symbolic Virtual Machine | |
// | |
// This file is distributed under the University of Illinois Open Source | |
// License. See LICENSE.TXT for details. | |
// | |
//===----------------------------------------------------------------------===// | |
int toupper(int ch) { | |
if ( (unsigned int)(ch - 'a') < 26u ) | |
ch += 'A' - 'a'; | |
return ch; | |
} |