_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

PTC 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

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


SEE ALSO

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


PTC MKS Toolkit 10.4 Documentation Build 39.