Skip to contentSkip to conversation

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

PATCH Superseded Alejandro Colomar 2 participants 4 messages Feb 17, 2021 – Feb 18, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

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

---

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(+)
man3/strerror.3 +5 -0
index 5dfe76f69..07684c40a 100644
@@ -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).
Signature · 1 line
2.30.0
#1 lore raw
Quoted 21 lines · Alejandro Colomar

---

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(+)
man3/strerror.3 +0 -0
index 5dfe76f69..07684c40a 100644

man3/strerror.3 Insufficient storage was supplied to contain the error description string. · line 239

Quoted 5 lines
man3/strerror.3 +2 -0
@@ -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 :)

Quoted 7 lines
man3/strerror.3 +3 -0
+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).
Signature · 3 lines
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
#2 lore raw

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

In reply to Alejandro Colomar
---
 man3/strerror.3 | 6 ++++++
 1 file changed, 6 insertions(+)
man3/strerror.3 +6 -0
index 5dfe76f69..e1724a102 100644
@@ -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).
Signature · 1 line
2.30.0
#3 lore raw

Hi Alex,

Quoted 1 line · Alejandro Colomar

Thanks. Patch applied.

Cheers,

Michael

Quoted 22 lines
---
 man3/strerror.3 | 6 ++++++
 1 file changed, 6 insertions(+)
man3/strerror.3 +6 -0
index 5dfe76f69..e1724a102 100644
@@ -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).
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/