26 |
#include <sys/stat.h> /* stat */ |
#include <sys/stat.h> /* stat */ |
27 |
#include <sys/time.h> /* gettimeofday */ |
#include <sys/time.h> /* gettimeofday */ |
28 |
#include <sys/times.h> /* times */ |
#include <sys/times.h> /* times */ |
29 |
|
#include <ctype.h> /* toupper */ |
30 |
#include <errno.h> |
#include <errno.h> |
31 |
#include "rdesktop.h" |
#include "rdesktop.h" |
32 |
|
|
768 |
} |
} |
769 |
|
|
770 |
|
|
771 |
char * |
void |
772 |
toupper(char* p) |
toupper_str(char* p) |
773 |
{ |
{ |
774 |
while( *p ){ |
while( *p ){ |
775 |
if( (*p >= 'a') && (*p <= 'z') ) |
if( (*p >= 'a') && (*p <= 'z') ) |
776 |
*p = *p - 32; |
*p = toupper((int) *p); |
777 |
p++; |
p++; |
778 |
} |
} |
779 |
} |
} |