summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Fleury <emmanuel.fleury@gmail.com>2021-04-22 14:33:18 +0200
committerEmmanuel Fleury <emmanuel.fleury@gmail.com>2021-04-23 10:43:05 +0200
commite642562fff90928650fe4fe37bcb456f572731a2 (patch)
tree85361a49bde70b59ed74be93c91c8dc5c5a2067c
parent59acf6950c3b3321a592f1a77984395bcb2c8e0f (diff)
downloadglib-e642562fff90928650fe4fe37bcb456f572731a2.tar.gz
Add extra documentation about the return values of g_seekable_tell()
-rw-r--r--gio/gseekable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/gseekable.c b/gio/gseekable.c
index 28e815703..9689a77b6 100644
--- a/gio/gseekable.c
+++ b/gio/gseekable.c
@@ -59,7 +59,8 @@ g_seekable_default_init (GSeekableInterface *iface)
*
* Tells the current position within the stream.
*
- * Returns: the offset from the beginning of the buffer.
+ * Returns: the (positive or zero) offset from the beginning of the
+ * buffer, zero if the target is not seekable.
**/
goffset
g_seekable_tell (GSeekable *seekable)