aboutsummaryrefslogtreecommitdiff
path: root/vendor/librune/man/u8gnext.3
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-27 23:26:42 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-27 23:26:42 +0100
commit679f7928e27a95e559eb3a69febf0c6336e40234 (patch)
treeaf9c5bb35253086eb8e3ad3d7774e7349b3beefe /vendor/librune/man/u8gnext.3
parentfd502fd87b40ae7f60314d8d9009f739f1c5fcf3 (diff)
Bump librune
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