public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] man3/getgrnam: fix ATTRIBUTES table after adding R-functions
@ 2025-11-27 13:22 Simon Essien
  2025-11-27 13:22 ` [PATCH v2 2/2] man3/getgrnam: clarify error behavior when entry is not found Simon Essien
  2025-11-27 13:58 ` [PATCH v2 1/2] man3/getgrnam: fix ATTRIBUTES table after adding R-functions Alejandro Colomar
  0 siblings, 2 replies; 4+ messages in thread
From: Simon Essien @ 2025-11-27 13:22 UTC (permalink / raw)
  To: alex, linux-man; +Cc: Simon Essien

---
 man/man3/getgrnam.3 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/man/man3/getgrnam.3 b/man/man3/getgrnam.3
index 7d6365caa..87eaf39d5 100644
--- a/man/man3/getgrnam.3
+++ b/man/man3/getgrnam.3
@@ -1,4 +1,3 @@
-'\" t
 .\" Copyright, the authors of the Linux man-pages project
 .\"
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
-- 
2.50.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 2/2] man3/getgrnam: clarify error behavior when entry is not found
  2025-11-27 13:22 [PATCH v2 1/2] man3/getgrnam: fix ATTRIBUTES table after adding R-functions Simon Essien
@ 2025-11-27 13:22 ` Simon Essien
  2025-11-27 13:58 ` [PATCH v2 1/2] man3/getgrnam: fix ATTRIBUTES table after adding R-functions Alejandro Colomar
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Essien @ 2025-11-27 13:22 UTC (permalink / raw)
  To: alex, linux-man; +Cc: Simon Essien

---
 man/man3/getgrnam.3 | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/man/man3/getgrnam.3 b/man/man3/getgrnam.3
index 87eaf39d5..1a2143d47 100644
--- a/man/man3/getgrnam.3
+++ b/man/man3/getgrnam.3
@@ -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;
-- 
2.50.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 1/2] man3/getgrnam: fix ATTRIBUTES table after adding R-functions
  2025-11-27 13:22 [PATCH v2 1/2] man3/getgrnam: fix ATTRIBUTES table after adding R-functions Simon Essien
  2025-11-27 13:22 ` [PATCH v2 2/2] man3/getgrnam: clarify error behavior when entry is not found Simon Essien
@ 2025-11-27 13:58 ` Alejandro Colomar
  1 sibling, 0 replies; 4+ messages in thread
From: Alejandro Colomar @ 2025-11-27 13:58 UTC (permalink / raw)
  To: linux-man; +Cc: linux-man, Yedidyah Bar David

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

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

> Cc: alex@manpages.org, linux-man@vger.kernel.org

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

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

More lol.


Cheers,
Alex

On Thu, Nov 27, 2025 at 01:22:31PM +0000, Simon Essien wrote:
> ---
>  man/man3/getgrnam.3 | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/man/man3/getgrnam.3 b/man/man3/getgrnam.3
> index 7d6365caa..87eaf39d5 100644
> --- a/man/man3/getgrnam.3
> +++ b/man/man3/getgrnam.3
> @@ -1,4 +1,3 @@
> -'\" t
>  .\" Copyright, the authors of the Linux man-pages project
>  .\"
>  .\" SPDX-License-Identifier: Linux-man-pages-copyleft
> -- 
> 2.50.1
> 
> 

-- 
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 2/2] man3/getgrnam: clarify error behavior when entry is not found
  2025-11-27 15:25 Simon Essien
@ 2025-11-27 15:25 ` Simon Essien
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Essien @ 2025-11-27 15:25 UTC (permalink / raw)
  To: linux-man, alx; +Cc: Simon Essien

---
 man/man3/getgrnam.3 | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/man/man3/getgrnam.3 b/man/man3/getgrnam.3
index 87eaf39d5..1a2143d47 100644
--- a/man/man3/getgrnam.3
+++ b/man/man3/getgrnam.3
@@ -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;
-- 
2.50.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-27 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-27 13:22 [PATCH v2 1/2] man3/getgrnam: fix ATTRIBUTES table after adding R-functions Simon Essien
2025-11-27 13:22 ` [PATCH v2 2/2] man3/getgrnam: clarify error behavior when entry is not found Simon Essien
2025-11-27 13:58 ` [PATCH v2 1/2] man3/getgrnam: fix ATTRIBUTES table after adding R-functions Alejandro Colomar
  -- strict thread matches above, loose matches on Subject: below --
2025-11-27 15:25 Simon Essien
2025-11-27 15:25 ` [PATCH v2 2/2] man3/getgrnam: clarify error behavior when entry is not found Simon Essien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox