summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-04-29 03:02:46 +0200
committerBruno Haible <bruno@clisp.org>2009-04-29 03:02:46 +0200
commitb58b2522d6cb16d458b02f71aaf3a523629bce4a (patch)
treede90b5547544b8666d38997c4a808994f10237a8 /doc
parent46bc8da8fa45e0f100751c5d4f12084023b5fe37 (diff)
downloadlibunistring-b58b2522d6cb16d458b02f71aaf3a523629bce4a.tar.gz
Doc tweaks.
Diffstat (limited to 'doc')
-rw-r--r--doc/libunistring.texi3
-rw-r--r--doc/unicase.texi8
-rw-r--r--doc/uninorm.texi4
-rw-r--r--doc/unistr.texi4
4 files changed, 10 insertions, 9 deletions
diff --git a/doc/libunistring.texi b/doc/libunistring.texi
index b5eb976..f293e02 100644
--- a/doc/libunistring.texi
+++ b/doc/libunistring.texi
@@ -516,7 +516,8 @@ The @posixfunc{strcasecmp}, @posixfunc{strncasecmp}, and @posixfunc{strcasestr}
functions do not work with multibyte strings.
@end itemize
-The workarounds can be found in GNU gnulib @url{http://wwww.gnu.org/software/gnulib/}.
+The workarounds can be found in GNU gnulib
+@url{http://www.gnu.org/software/gnulib/}.
@itemize
@item
gnulib has modules @samp{mbchar}, @samp{mbiter}, @samp{mbuiter} that
diff --git a/doc/unicase.texi b/doc/unicase.texi
index e4ccdf8..97d0d5e 100644
--- a/doc/unicase.texi
+++ b/doc/unicase.texi
@@ -144,10 +144,10 @@ current locale.
@deftypefunx {char *} u16_casexfrm (const uint16_t *@var{s}, size_t @var{n}, const char *@var{iso639_language}, uninorm_t @var{nf}, char *@var{resultbuf}, size_t *@var{lengthp})
@deftypefunx {char *} u32_casexfrm (const uint32_t *@var{s}, size_t @var{n}, const char *@var{iso639_language}, uninorm_t @var{nf}, char *@var{resultbuf}, size_t *@var{lengthp})
@deftypefunx {char *} ulc_casexfrm (const char *@var{s}, size_t @var{n}, const char *@var{iso639_language}, uninorm_t @var{nf}, char *@var{resultbuf}, size_t *@var{lengthp})
-Converts the string @var{s} of length @var{n} to a string in locale encoding,
-in such a way that comparing @code{u8_casexfrm (@var{s1})} and
-@code{u8_casexfrm (@var{s2})} with @code{memcmp2} is equivalent to comparing
-@var{s1} and @var{s2} with @code{u8_casecoll}.
+Converts the string @var{s} of length @var{n} to a NUL-terminated byte
+sequence, in such a way that comparing @code{u8_casexfrm (@var{s1})} and
+@code{u8_casexfrm (@var{s2})} with the gnulib function @code{memcmp2} is
+equivalent to comparing @var{s1} and @var{s2} with @code{u8_casecoll}.
@var{nf} must be either @code{UNINORM_NFC}, @code{UNINORM_NFKC}, or NULL for
no normalization.
diff --git a/doc/uninorm.texi b/doc/uninorm.texi
index 2903c4c..2dcafc7 100644
--- a/doc/uninorm.texi
+++ b/doc/uninorm.texi
@@ -230,8 +230,8 @@ Upon failure, returns -1 with @code{errno} set.
@deftypefun {char *} u8_normxfrm (const uint8_t *@var{s}, size_t @var{n}, uninorm_t @var{nf}, char *@var{resultbuf}, size_t *@var{lengthp})
@deftypefunx {char *} u16_normxfrm (const uint16_t *@var{s}, size_t @var{n}, uninorm_t @var{nf}, char *@var{resultbuf}, size_t *@var{lengthp})
@deftypefunx {char *} u32_normxfrm (const uint32_t *@var{s}, size_t @var{n}, uninorm_t @var{nf}, char *@var{resultbuf}, size_t *@var{lengthp})
-Converts the string @var{s} of length @var{n} to a string in locale encoding,
-in such a way that comparing @code{u8_normxfrm (@var{s1})} and
+Converts the string @var{s} of length @var{n} to a NUL-terminated byte
+sequence, in such a way that comparing @code{u8_normxfrm (@var{s1})} and
@code{u8_normxfrm (@var{s2})} with the @code{u8_cmp2} function is equivalent to
comparing @var{s1} and @var{s2} with the @code{u8_normcoll} function.
diff --git a/doc/unistr.texi b/doc/unistr.texi
index da95413..8c51c2f 100644
--- a/doc/unistr.texi
+++ b/doc/unistr.texi
@@ -186,8 +186,8 @@ Returns a negative value if @var{s1} compares smaller than @var{s2},
a positive value if @var{s1} compares larger than @var{s2}, or 0 if
they compare equal.
-This function is similar to @func{memcmp2}, except that it operates on
-Unicode strings.
+This function is similar to the gnulib function @func{memcmp2}, except that it
+operates on Unicode strings.
@end deftypefun
@cindex searching, for a character