_strlwr(), _strupr()

change case of characters 

Function


SYNOPSIS

#include <string.h>

char *_strlwr(char *str);

char *_strupr(char *str);


DESCRIPTION

The _strlwr() function converts any uppercase characters in its argument to lowercase. The _strupr() function converts any lowercase characters in its argument to uppercase. These functions are affected by the LC_CTYPE setting in the current locale.


PARAMETERS

str 

Specifies the string to be converted to lowercase or uppercase.


RETURN VALUES

The _strlwr() and _strupr() functions return their argument.


CONFORMANCE

MKS Toolkit UNIX APIs extension


MULTITHREAD SAFETY LEVEL

MT-Safe, with exceptions.

These functions are MT-Safe as long as no thread calls setlocale() while these functions are executing.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
islower(), isupper(), setlocale(), tolower(), toupper()


MKS Toolkit 9.3 Documentation Build 6.