Subversion Repositories Kolibri OS

Rev

Rev 647 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6433 siemargl 1
#include 
647 andrew_pro 2
/*
3
** return upper-case of c if it is lower-case, else c
4
*/
5
unsigned char toupper(unsigned char c)
6
{
7
  if(c<='z' && c>='a') return (c-32);
8
  return (c);
9
}