From 112ba3d0677b4c717c893a5744d07b4ea69c36ce Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Fri, 3 Jan 2025 14:05:57 +0100
Subject: [PATCH] doc: Mention the new modules.

* doc/strings.texi (Comparison of string APIs): Add rows for startswith
and endswith functions.
---
 ChangeLog        |  6 ++++++
 doc/strings.texi | 20 ++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 3cce627d4b..01529c0411 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-01-03  Bruno Haible  <bruno@clisp.org>
+
+	doc: Mention the new modules.
+	* doc/strings.texi (Comparison of string APIs): Add rows for startswith
+	and endswith functions.
+
 2025-01-03  Bruno Haible  <bruno@clisp.org>
 
 	mbs_endswith: Add tests.
diff --git a/doc/strings.texi b/doc/strings.texi
index 89d48b7adb..94cc61c9be 100644
--- a/doc/strings.texi
+++ b/doc/strings.texi
@@ -320,6 +320,8 @@ and in Gnulib.
 @mindex mbstok_r
 @mindex mbstowcs
 @mindex mbswidth
+@mindex mbs_endswith
+@mindex mbs_startswith
 @mindex stpcpy
 @mindex stpncpy
 @mindex strcase
@@ -343,8 +345,12 @@ and in Gnulib.
 @mindex strtoul
 @mindex strtoull
 @mindex strtoumax
+@mindex str_endswith
+@mindex str_startswith
 @mindex unicase/u32-casecmp
 @mindex unistr/u32-mbsnlen
+@mindex unistr/u32-endswith
+@mindex unistr/u32-startswith
 @mindex unistr/u32-stpcpy
 @mindex unistr/u32-stpncpy
 @mindex unistr/u32-strcat
@@ -483,6 +489,20 @@ and in Gnulib.
 @tab --
 @tab --
 
+@item @code{str_startswith}
+@tab @code{str_startswith}
+@tab @code{mbs_startswith}
+@tab --
+@tab --
+@tab @code{u32_startswith}
+
+@item @code{str_endswith}
+@tab @code{str_endswith}
+@tab @code{mbs_endswith}
+@tab --
+@tab --
+@tab @code{u32_endswith}
+
 @item @code{strspn}
 @tab @code{strspn}
 @tab @code{mbsspn}
-- 
2.39.5