home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR8
/
TDE32.ZIP
/
BJ_CTYPE.C
next >
Wrap
C/C++ Source or Header
|
1993-11-13
|
529b
|
30 lines
/*
* Editor: TDE, the Thomson-Davis Editor
* Filename: myctype.c
* Compiled by: Byrial Jensen
*
* This file redefines the two standard library files tolower and toupper
*/
#include "tdestr.h"
#include "common.h"
int bj_tolower( int c )
{
if (c & 0xFF00)
return( c );
else
return( bj_isupper( c ) ? (int)upper_lower[c] : c );
}
int bj_toupper( int c )
{
if (c & 0xFF00)
return( c );
else
return( bj_islower( c ) ? (int)upper_lower[c] : c );
}