gstrfuncs: Clarify haystack_len behaviour of g_strstr_len()

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #159
This commit is contained in:
Philip Withnall 2023-03-20 11:55:53 +00:00
parent e979fd9a15
commit 7dfde773f6

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.