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

Message ID 20210217095231.27727-1-alx.manpages@gmail.com
State Superseded
Headers show
Series
  • strerror.3: VERSIONS: Document that strerrorname_np() and strerrordesc_np() functions first appeared on glibc 2.32
Related show

Commit Message

DJ Delorie via Libc-alpha Feb. 17, 2021, 9:52 a.m.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

---

Hi Michael,

I struggled to use strerrorname_np(), until I found that these were
so new that Debian Sid didn't have them :)

Cheers,

Alex

---
 man3/strerror.3 | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.30.0

Comments

DJ Delorie via Libc-alpha Feb. 17, 2021, 10:05 a.m. | #1
On 2/17/21 10:52 AM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

> ---

> 

> Hi Michael,

> 

> I struggled to use strerrorname_np(), until I found that these were

> so new that Debian Sid didn't have them :)

> 

> Cheers,

> 

> Alex

> 

> ---

>   man3/strerror.3 | 5 +++++

>   1 file changed, 5 insertions(+)

> 

> diff --git a/man3/strerror.3 b/man3/strerror.3

> index 5dfe76f69..07684c40a 100644

> --- a/man3/strerror.3

> +++ b/man3/strerror.3

> @@ -235,6 +235,11 @@ Insufficient storage was supplied to contain the error description string.

>   The

>   .BR strerror_l ()

>   function first appeared in glibc 2.6.

> +The

> +.BR strerrorname_np (),


tfix: please remove that comma :)

> +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).

> 



-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

Patch

diff --git a/man3/strerror.3 b/man3/strerror.3
index 5dfe76f69..07684c40a 100644
--- a/man3/strerror.3
+++ b/man3/strerror.3
@@ -235,6 +235,11 @@  Insufficient storage was supplied to contain the error description string.
 The
 .BR strerror_l ()
 function first appeared in glibc 2.6.
+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).