Merge branch '2857-stpcpy-doc' into 'main'

gstrfuncs: Fix grammar in documentation of stpcpy

Closes #2857

See merge request GNOME/glib!3179
This commit is contained in:
Philip Withnall 2023-01-05 14:21:04 +00:00
commit 35d3528623

View File

@ -495,12 +495,12 @@ g_strnfill (gsize length,
* @dest: destination buffer. * @dest: destination buffer.
* @src: source string. * @src: source string.
* *
* Copies a nul-terminated string into the dest buffer, include the * Copies a nul-terminated string into the destination buffer, including
* trailing nul, and return a pointer to the trailing nul byte. * the trailing nul byte, and returns a pointer to the trailing nul byte
* This is useful for concatenating multiple strings together * in `dest`. The return value is useful for concatenating multiple
* without having to repeatedly scan for the end. * strings without having to repeatedly scan for the end.
* *
* Returns: a pointer to trailing nul byte. * Returns: a pointer to the trailing nul byte in `dest`.
**/ **/
gchar * gchar *
g_stpcpy (gchar *dest, g_stpcpy (gchar *dest,