Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_fixcpp/sys/src/ape/lib/ap/gen/toupper.c – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include	<ctype.h>
2
 
3
toupper(int c)
4
{
5
 
6
	if(c < 'a' || c > 'z')
7
		return c;
8
	return (c-'a'+'A');
9
}
10
 
11
tolower(int c)
12
{
13
 
14
	if(c < 'A' || c > 'Z')
15
		return c;
16
	return (c-'A'+'a');
17
}