Share via


_strlwr, _wcslwr (Windows CE 5.0)

Send Feedback

Developing an Application > Microsoft C Run-time Library for Windows CE > Run-time Library Reference

Convert a string to lowercase.

char *_strlwr( char *string );wchar_t *_wcslwr( wchar_t *string);

Parameters

  • string
    Null-terminated string to convert to lowercase.

Return Values

Both of these functions return a pointer to the converted string. Because the modification is done in place, the pointer returned is the same as the pointer passed as the input argument. No return value is reserved to indicate an error.

Remarks

These functions are supported by all versions of the C run-time libraries.

The _strlwr function converts any uppercase letters in string to lowercase as determined by the LC_CTYPE category setting of the current locale. Other characters are not affected.

The _wcslwr function is a wide-character version of _strlwr. The argument and return value of _wcslwr are wide-character strings. These two functions behave identically otherwise.

The following table shows generic-text routine mappings for this function.

TCHAR.H Routine _UNICODE Defined
_tcslwr _wcslwr

For more information about TCHAR.H routines, see Generic Text Mappings.

Requirements

OS Versions: Windows CE 2.0 and later.

Header: stdio.h, string.h.

Link Library: coredll.dll.

See Also

_stricmp | towlower

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.