Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

strlower - convert a string to lowercase letters (BS2000)

&pagelevel(4)&pagelevel

Syntax

#include <string.h>

char *strlower(char *s1, const char *s2);

Description

strlower() copies string s2, including the null byte (\0), to the memory area pointed to by
s1, converting uppercase letters to lowercase letters in the process.
If string s2 is passed as a null pointer, the copy operation is not performed, and the
uppercase letters in s1 are converted to lowercase.
s1 is the result string into which s2 is to be copied or in which uppercase letters are to be
converted to lowercase.
If s2 is not passed as a null pointer, s1 must be large enough to accommodate s2, including
the null byte (\0).

Return val.

Notes

Pointer to the result string s1.

Strings terminated with the null byte (\0) are expected as arguments.
strlower() does not verify whether s1 is large enough to accommodate the result.
The behavior is undefined if memory areas overlap.

See also

strupper(), tolower(), toupper().