Initial Commit
[libctiny.git] / struplwr.cc
blob311f7ab50cdec60f2c2544b1b6c16aa1e1615d59
1 //==========================================
2 // LIBCTINY - Matt Pietrek 2001
3 // MSDN Magazine, January 2001
4 //==========================================
5 #include "libctiny.h"
6 #include <windows.h>
7 #include <string.h>
9 // Force the linker to include USER32.LIB
10 #pragma comment(linker, "/defaultlib:user32.lib")
12 extern "C" char * __cdecl strupr(char *s) {
13 CharUpperBuff( s, lstrlen(s) );
14 return s;
17 extern "C" char * __cdecl strlwr(char *s) {
18 CharLowerBuff( s, lstrlen(s) );
19 return s;