---
 doc/posix-functions/strtod.texi    | 6 ++++++
 doc/posix-functions/strtof.texi    | 6 ++++++
 doc/posix-functions/strtoimax.texi | 5 +++++
 doc/posix-functions/strtol.texi    | 5 +++++
 doc/posix-functions/strtold.texi   | 6 ++++++
 doc/posix-functions/strtoll.texi   | 5 +++++
 doc/posix-functions/strtoul.texi   | 5 +++++
 doc/posix-functions/strtoull.texi  | 5 +++++
 doc/posix-functions/strtoumax.texi | 5 +++++
 9 files changed, 48 insertions(+)

diff --git a/doc/posix-functions/strtod.texi b/doc/posix-functions/strtod.texi
index 7a234eac88..c929fa8639 100644
--- a/doc/posix-functions/strtod.texi
+++ b/doc/posix-functions/strtod.texi
@@ -103,4 +103,10 @@ MSVC 14.
 
 @item
 The replacement function does not always return correctly rounded results.
+
+@item
+If no conversion could be performed, this function sets @code{errno}
+to @code{EINVAL} on some platforms.  Portable programs should check
+for no conversion by comparing @code{str} to @code{*endptr}, not by
+inspecting @code{errno}.
 @end itemize
diff --git a/doc/posix-functions/strtof.texi b/doc/posix-functions/strtof.texi
index a28625236f..f1675d8087 100644
--- a/doc/posix-functions/strtof.texi
+++ b/doc/posix-functions/strtof.texi
@@ -62,4 +62,10 @@ MSVC 14.
 
 @item
 The replacement function does not always return correctly rounded results.
+
+@item
+If no conversion could be performed, this function sets @code{errno}
+to @code{EINVAL} on some platforms.  Portable programs should check
+for no conversion by comparing @code{str} to @code{*endptr}, not by
+inspecting @code{errno}.
 @end itemize
diff --git a/doc/posix-functions/strtoimax.texi 
b/doc/posix-functions/strtoimax.texi
index a782685799..bd7a27d4c4 100644
--- a/doc/posix-functions/strtoimax.texi
+++ b/doc/posix-functions/strtoimax.texi
@@ -22,4 +22,9 @@ Portability problems not fixed by Gnulib:
 @item
 This function is only defined as a macro on some platforms:
 HP-UX 11.11.
+@item
+If no conversion could be performed, this function sets @code{errno}
+to @code{EINVAL} on some platforms.  Portable programs should check
+for no conversion by comparing @code{str} to @code{*endptr}, not by
+inspecting @code{errno}.
 @end itemize
diff --git a/doc/posix-functions/strtol.texi b/doc/posix-functions/strtol.texi
index c714f69a22..32a3e3b12d 100644
--- a/doc/posix-functions/strtol.texi
+++ b/doc/posix-functions/strtol.texi
@@ -22,4 +22,9 @@ prefix) when the base is 2 or 0 on many platforms.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+If no conversion could be performed, this function sets @code{errno}
+to @code{EINVAL} on some platforms.  Portable programs should check
+for no conversion by comparing @code{str} to @code{*endptr}, not by
+inspecting @code{errno}.
 @end itemize
diff --git a/doc/posix-functions/strtold.texi b/doc/posix-functions/strtold.texi
index 5756933c5e..555c78e955 100644
--- a/doc/posix-functions/strtold.texi
+++ b/doc/posix-functions/strtold.texi
@@ -81,4 +81,10 @@ MSVC 14.
 
 @item
 The replacement function does not always return correctly rounded results.
+
+@item
+If no conversion could be performed, this function sets @code{errno}
+to @code{EINVAL} on some platforms.  Portable programs should check
+for no conversion by comparing @code{str} to @code{*endptr}, not by
+inspecting @code{errno}.
 @end itemize
diff --git a/doc/posix-functions/strtoll.texi b/doc/posix-functions/strtoll.texi
index 52852895f9..cabd01b426 100644
--- a/doc/posix-functions/strtoll.texi
+++ b/doc/posix-functions/strtoll.texi
@@ -23,4 +23,9 @@ prefix) when the base is 2 or 0 on many platforms.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+If no conversion could be performed, this function sets @code{errno}
+to @code{EINVAL} on some platforms.  Portable programs should check
+for no conversion by comparing @code{str} to @code{*endptr}, not by
+inspecting @code{errno}.
 @end itemize
diff --git a/doc/posix-functions/strtoul.texi b/doc/posix-functions/strtoul.texi
index 6b8e42957e..049cb2cf6f 100644
--- a/doc/posix-functions/strtoul.texi
+++ b/doc/posix-functions/strtoul.texi
@@ -22,4 +22,9 @@ prefix) when the base is 2 or 0 on many platforms.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+If no conversion could be performed, this function sets @code{errno}
+to @code{EINVAL} on some platforms.  Portable programs should check
+for no conversion by comparing @code{str} to @code{*endptr}, not by
+inspecting @code{errno}.
 @end itemize
diff --git a/doc/posix-functions/strtoull.texi 
b/doc/posix-functions/strtoull.texi
index dfd14e1ae8..03e99574c4 100644
--- a/doc/posix-functions/strtoull.texi
+++ b/doc/posix-functions/strtoull.texi
@@ -23,4 +23,9 @@ prefix) when the base is 2 or 0 on many platforms.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+If no conversion could be performed, this function sets @code{errno}
+to @code{EINVAL} on some platforms.  Portable programs should check
+for no conversion by comparing @code{str} to @code{*endptr}, not by
+inspecting @code{errno}.
 @end itemize
diff --git a/doc/posix-functions/strtoumax.texi 
b/doc/posix-functions/strtoumax.texi
index 11d5b44c29..d348a16b48 100644
--- a/doc/posix-functions/strtoumax.texi
+++ b/doc/posix-functions/strtoumax.texi
@@ -19,4 +19,9 @@ Portability problems not fixed by Gnulib:
 @item
 This function is only defined as a macro on some platforms:
 HP-UX 11.11.
+@item
+If no conversion could be performed, this function sets @code{errno}
+to @code{EINVAL} on some platforms.  Portable programs should check
+for no conversion by comparing @code{str} to @code{*endptr}, not by
+inspecting @code{errno}.
 @end itemize
-- 
2.43.0


Reply via email to