Merge branch '159-strstr-len-docs' into 'main'

gstrfuncs: Clarify haystack_len behaviour of g_strstr_len()

Closes #159

See merge request GNOME/glib!3331
This commit is contained in:
Marco Trevisan 2023-03-21 14:52:16 +00:00
commit 8d0c92e65e

View File

@ -2768,7 +2768,7 @@ g_strjoin (const gchar *separator,
*
* Searches the string @haystack for the first occurrence
* of the string @needle, limiting the length of the search
* to @haystack_len.
* to @haystack_len or a nul terminator byte (whichever is reached first).
*
* Returns: a pointer to the found occurrence, or
* %NULL if not found.