aboutsummaryrefslogtreecommitdiff
path: root/vendor/librune/man/u8gnext.3
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/librune/man/u8gnext.3')
-rw-r--r--vendor/librune/man/u8gnext.311
1 files changed, 4 insertions, 7 deletions
diff --git a/vendor/librune/man/u8gnext.3 b/vendor/librune/man/u8gnext.3
index 0053aa5..e50c250 100644
--- a/vendor/librune/man/u8gnext.3
+++ b/vendor/librune/man/u8gnext.3
@@ -1,4 +1,4 @@
-.Dd January 18 2024
+.Dd January 27 2024
.Dt U8GNEXT 3
.Os
.Sh NAME
@@ -8,7 +8,7 @@
.Lb librune
.Sh SYNOPSIS
.In gbrk.h
-.Ft "const char8_t *"
+.Ft size_t
.Fn u8gnext "struct u8view *v" "const char8_t **s" "size_t *n"
.Sh DESCRIPTION
The
@@ -33,11 +33,8 @@ manual.
.Sh RETURN VALUES
The
.Fn u8gnext
-function returns the updated value of
-.Fa s
-or
-.Dv NULL
-at the end of iteration.
+function returns the length of the grapheme iterated over in bytes,
+or 0 at the end of iteration.
.Sh EXAMPLES
The following calls to
.Fn u8gnext