Declaration [src]

g_ascii_strdown (
  const gchar* str,
  gssize len

Description [src]

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


str const gchar*

A string.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
len gssize

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

Return value

Returns: gchar*

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

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.