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, with semantics that exactly match [func@GLib.

ascii_tolower].

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. (Note that this is unlike the old [func@GLib.strdown], which modified the string in place.)