[v2] strerror.3: VERSIONS: Document that strerrorname_np() and strerrordesc_np() functions first appeared on glibc 2.32

Message ID 20210217122310.107318-1-alx.manpages@gmail.com
State Not applicable
Headers
Series [v2] strerror.3: VERSIONS: Document that strerrorname_np() and strerrordesc_np() functions first appeared on glibc 2.32 |

Commit Message

Alejandro Colomar Feb. 17, 2021, 12:23 p.m. UTC
  Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man3/strerror.3 | 6 ++++++
 1 file changed, 6 insertions(+)
  

Comments

Michael Kerrisk \(man-pages\) Feb. 18, 2021, 7:57 a.m. UTC | #1
Hi Alex,

On 2/17/21 1:23 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

Thanks. Patch applied.

Cheers,

Michael

> ---
>  man3/strerror.3 | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/man3/strerror.3 b/man3/strerror.3
> index 5dfe76f69..e1724a102 100644
> --- a/man3/strerror.3
> +++ b/man3/strerror.3
> @@ -235,6 +235,12 @@ Insufficient storage was supplied to contain the error description string.
>  The
>  .BR strerror_l ()
>  function first appeared in glibc 2.6.
> +.PP
> +The
> +.BR strerrorname_np ()
> +and
> +.BR strerrordesc_np ()
> +functions first appeared in glibc 2.32.
>  .SH ATTRIBUTES
>  For an explanation of the terms used in this section, see
>  .BR attributes (7).
>
  

Patch

diff --git a/man3/strerror.3 b/man3/strerror.3
index 5dfe76f69..e1724a102 100644
--- a/man3/strerror.3
+++ b/man3/strerror.3
@@ -235,6 +235,12 @@  Insufficient storage was supplied to contain the error description string.
 The
 .BR strerror_l ()
 function first appeared in glibc 2.6.
+.PP
+The
+.BR strerrorname_np ()
+and
+.BR strerrordesc_np ()
+functions first appeared in glibc 2.32.
 .SH ATTRIBUTES
 For an explanation of the terms used in this section, see
 .BR attributes (7).