linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clone.2: refer to VERSIONS for raw clone prototype
@ 2023-08-24  5:14 Kir Kolyshkin
  2023-08-25 18:00 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: Kir Kolyshkin @ 2023-08-24  5:14 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man, Kir Kolyshkin

Commit 2a15a76bba35c ("clone.2: Document raw syscall interfaces on various other
architectures") adds this note:

	/* For the prototype of the raw system call, see NOTES */

but places the raw syscall prototypes into DESCRIPTION.

Next, commit 1874193ebf07068b ("clone.2: Add NOTES heading") makes the
information to appear in NOTES.

Finally, commit 4131356cdab8d ("man*/, man-pages.7: VERSIONS, STANDARDS,
HISTORY: Reorganize sections") moves the NOTES section (with some but
not all of the old contents from NOTES and VERSIONS) down, and thus the
raw prototypes are now under VERSIONS.

Fix the comment accordingly.

Cc:
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
---
 man2/clone.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/clone.2 b/man2/clone.2
index 4a75b557b..73ad5a6fa 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -58,7 +58,7 @@ Standard C library
 .BI "                                       void *_Nullable " tls ,
 .BI "                                       pid_t *_Nullable " child_tid " \fR*/\fP );"
 .PP
-/* For the prototype of the raw clone() system call, see NOTES */
+/* For the prototype of the raw clone() system call, see VERSIONS */
 .PP
 .BR "#include <linux/sched.h>" "    /* Definition of " "struct clone_args" " */"
 .BR "#include <sched.h>" "          /* Definition of " CLONE_* " constants */"
-- 
2.41.0


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

* Re: [PATCH] clone.2: refer to VERSIONS for raw clone prototype
  2023-08-24  5:14 [PATCH] clone.2: refer to VERSIONS for raw clone prototype Kir Kolyshkin
@ 2023-08-25 18:00 ` Alejandro Colomar
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2023-08-25 18:00 UTC (permalink / raw)
  To: Kir Kolyshkin; +Cc: linux-man


[-- Attachment #1.1: Type: text/plain, Size: 1700 bytes --]

Hi Kir,

On 2023-08-24 07:14, Kir Kolyshkin wrote:
> Commit 2a15a76bba35c ("clone.2: Document raw syscall interfaces on various other
> architectures") adds this note:
> 
> 	/* For the prototype of the raw system call, see NOTES */
> 
> but places the raw syscall prototypes into DESCRIPTION.
> 
> Next, commit 1874193ebf07068b ("clone.2: Add NOTES heading") makes the
> information to appear in NOTES.
> 
> Finally, commit 4131356cdab8d ("man*/, man-pages.7: VERSIONS, STANDARDS,
> HISTORY: Reorganize sections") moves the NOTES section (with some but
> not all of the old contents from NOTES and VERSIONS) down, and thus the
> raw prototypes are now under VERSIONS.
> 
> Fix the comment accordingly.
> 
> Cc:

Did you want to CC someone?  :)

> Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
> ---
>  man2/clone.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man2/clone.2 b/man2/clone.2
> index 4a75b557b..73ad5a6fa 100644
> --- a/man2/clone.2
> +++ b/man2/clone.2
> @@ -58,7 +58,7 @@ Standard C library
>  .BI "                                       void *_Nullable " tls ,
>  .BI "                                       pid_t *_Nullable " child_tid " \fR*/\fP );"
>  .PP
> -/* For the prototype of the raw clone() system call, see NOTES */
> +/* For the prototype of the raw clone() system call, see VERSIONS */

LGTM.

Thanks,
Alex

>  .PP
>  .BR "#include <linux/sched.h>" "    /* Definition of " "struct clone_args" " */"
>  .BR "#include <sched.h>" "          /* Definition of " CLONE_* " constants */"

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5


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

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

end of thread, other threads:[~2023-08-25 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-24  5:14 [PATCH] clone.2: refer to VERSIONS for raw clone prototype Kir Kolyshkin
2023-08-25 18:00 ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).