ascii_down


Description:

[ CCode ( cname = "g_ascii_strdown" ) ]
public string ascii_down (ssize_t len = -1)

Converts all upper case ASCII letters to lower case ASCII letters.

Parameters:

len

length of str in bytes, or -1 if str is nul-terminated

str

a string

Returns:

a newly-allocated string, with all the upper case characters in str converted to lower case, with semantics that exactly match tolower. (Note that this is unlike the old g_strdown, which modified the string in place.)