diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-01-08 11:51:39 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-01-08 11:51:39 +0100 |
commit | 2959e59fab3bab834368adefd90bd4b1b094366b (patch) | |
tree | 7d0ae09775ea950056193eaa2ca93844299d46f1 /doc/uniwidth.texi | |
parent | c78359d9542c86b972aac373efcf7bc7a8a560e5 (diff) | |
parent | be8efac78d067c138ad8dda03df4336e73f94887 (diff) |
Update upstream source from tag 'upstream/1.0'
Update to upstream version '1.0'
with Debian dir 4875e7dc9f7277205f0086a63ee21ccdb1d54593
Diffstat (limited to 'doc/uniwidth.texi')
-rw-r--r-- | doc/uniwidth.texi | 14 |
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 |