Skip to contentSkip to conversation

man3/getgrnam: fix ATTRIBUTES table after adding R-functions

PATCH Superseded Simon Essien 2 participants 3 messages Nov 27, 2025 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 man3/getgrnam: fix ATTRIBUTES table after adding R-functions

---
 man/man3/getgrnam.3 | 1 -
 1 file changed, 1 deletion(-)
man/man3/getgrnam.3 +0 -1
index 7d6365caa..87eaf39d5 100644
@@ -1,4 +1,3 @@
-'\" t
 .\" Copyright, the authors of the Linux man-pages project
 .\"
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
Signature · 1 line
2.50.1
#1 lore raw

PATCH v2 2/2 man3/getgrnam: clarify error behavior when entry is not found

---
 man/man3/getgrnam.3 | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
man/man3/getgrnam.3 +5 -2
index 87eaf39d5..1a2143d47 100644
@@ -156,12 +156,15 @@ In case of error, an error number is returned, and NULL is stored in
 .IR *result .
 .SH ERRORS
 .TP
-.BR 0 " or " ENOENT " or " ESRCH " or " EBADF " or " EPERM " or ..."
+.BR 0
+No matching group record was found, or no error occurred (POSIX behavior).
+.TP
+.B ENOENT ", " ESRCH ", " EBADF ", " EPERM ", or other values"
 The given
 .I name
 or
 .I gid
-was not found.
+was not found. (Some UNIX implementations set errno in this case.)
 .TP
 .B EINTR
 A signal was caught;
Signature · 1 line
2.50.1
#2 lore raw
In reply to Simon Essien

[Dropped "Simon" from recipient list]
[Dropped alex@ from recipient list]
[CC += Yedidyah]

Quoted 1 line

Lol. I wonder if this is how stupid AI is at the moment, or if someone is playing with us on purpose.

Quoted 1 line

Subject: Re: [PATCH v2 1/2] man3/getgrnam: fix ATTRIBUTES table after adding R-functions

More lol.

Cheers,
Alex

Quoted 17 lines · Simon Essien
---
 man/man3/getgrnam.3 | 1 -
 1 file changed, 1 deletion(-)
man/man3/getgrnam.3 +0 -1
index 7d6365caa..87eaf39d5 100644
@@ -1,4 +1,3 @@
-'\" t
 .\" Copyright, the authors of the Linux man-pages project
 .\"
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
Signature · 1 line
2.50.1
Signature · 2 lines
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).