diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-01-08 11:51:07 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-01-08 11:51:07 +0100 |
commit | be8efac78d067c138ad8dda03df4336e73f94887 (patch) | |
tree | 5f5254a628ba0ef72065b93d949d1c985742ea8e /doc/uniwidth.texi | |
parent | 7b65dbd4ebade81d504cfe5e681292a58ad1fdf0 (diff) |
New upstream version 1.0upstream/1.0
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 |