summaryrefslogtreecommitdiff
path: root/doc/uniwidth.texi
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-02-07 06:57:44 +0100
committerJörg Frings-Fürst <debian@jff.email>2022-02-07 06:57:44 +0100
commit6ffaa52cf732a84c0f8259dbc9b8183960ec5c33 (patch)
treed3136c22e3e805cfc0efe78412cce905a17e0c8d /doc/uniwidth.texi
parent591cbf5878b7d4105b275585b9db1324c9dfce56 (diff)
parentaf151c593704a40e10efb28d1e3dd59a23a661f3 (diff)
Merge branch 'release/debian/1.0-1'debian/1.0-1
Diffstat (limited to 'doc/uniwidth.texi')
-rw-r--r--doc/uniwidth.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/uniwidth.texi b/doc/uniwidth.texi
index a05d101..4831da2 100644
--- a/doc/uniwidth.texi
+++ b/doc/uniwidth.texi
@@ -21,23 +21,23 @@ the encoding (e.g@. @code{"ISO-8859-2"} for Polish).
@cindex Unicode character, width
@cindex halfwidth
@cindex fullwidth
-@deftypefun int uc_width (ucs4_t @var{uc}, const char *@var{encoding})
+@deftypefun int uc_width (ucs4_t@tie{}@var{uc}, const@tie{}char@tie{}*@var{encoding})
Determines and returns the number of column positions required for @var{uc}.
Returns -1 if @var{uc} is a control character that has an influence on the
column position when output.
@end deftypefun
-@deftypefun int u8_width (const uint8_t *@var{s}, size_t @var{n}, const char *@var{encoding})
-@deftypefunx int u16_width (const uint16_t *@var{s}, size_t @var{n}, const char *@var{encoding})
-@deftypefunx int u32_width (const uint32_t *@var{s}, size_t @var{n}, const char *@var{encoding})
+@deftypefun int u8_width (const@tie{}uint8_t@tie{}*@var{s}, size_t@tie{}@var{n}, const@tie{}char@tie{}*@var{encoding})
+@deftypefunx int u16_width (const@tie{}uint16_t@tie{}*@var{s}, size_t@tie{}@var{n}, const@tie{}char@tie{}*@var{encoding})
+@deftypefunx int u32_width (const@tie{}uint32_t@tie{}*@var{s}, size_t@tie{}@var{n}, const@tie{}char@tie{}*@var{encoding})
Determines and returns the number of column positions required for first
@var{n} units (or fewer if @var{s} ends before this) in @var{s}. This
function ignores control characters in the string.
@end deftypefun
-@deftypefun int u8_strwidth (const uint8_t *@var{s}, const char *@var{encoding})
-@deftypefunx int u16_strwidth (const uint16_t *@var{s}, const char *@var{encoding})
-@deftypefunx int u32_strwidth (const uint32_t *@var{s}, const char *@var{encoding})
+@deftypefun int u8_strwidth (const@tie{}uint8_t@tie{}*@var{s}, const@tie{}char@tie{}*@var{encoding})
+@deftypefunx int u16_strwidth (const@tie{}uint16_t@tie{}*@var{s}, const@tie{}char@tie{}*@var{encoding})
+@deftypefunx int u32_strwidth (const@tie{}uint32_t@tie{}*@var{s}, const@tie{}char@tie{}*@var{encoding})
Determines and returns the number of column positions required for @var{s}.
This function ignores control characters in the string.
@end deftypefun