summaryrefslogtreecommitdiff
path: root/gir/gio-2.0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gir/gio-2.0.c')
-rw-r--r--gir/gio-2.0.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index 11b07ce3..b8500132 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -16122,6 +16122,8 @@
* Note that @stop_chars may contain '\0' if @stop_chars_len is
* specified.
*
+ * The returned string will always be nul-terminated on success.
+ *
* Returns: (transfer full): a string with the data that was read
* before encountering any of the stop characters. Set @length to
* a #gsize to get the length of the string. This function will
@@ -16174,6 +16176,8 @@
* have to use g_data_input_stream_read_byte() to get it before calling
* g_data_input_stream_read_upto_async() again.
*
+ * The returned string will always be nul-terminated on success.
+ *
* Returns: (transfer full): a string with the data that was read
* before encountering any of the stop characters. Set @length to
* a #gsize to get the length of the string. This function will
@@ -30481,7 +30485,7 @@
* used as the port number to connect to.
*
* In general, @host_and_port is expected to be provided by the user
- * (allowing them to give the hostname, and a port overide if necessary)
+ * (allowing them to give the hostname, and a port override if necessary)
* and @default_port is expected to be provided by the application.
*
* (The port component of @host_and_port can also be specified as a