blob: 37e5f9d6e26764c6355bbc98e750abbe4fe56087 [file] [log] [blame]
//===-- 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;
}