Linux Manual Pages development
 help / color / mirror / Atom feed
* [PATCH] man/man2/ioctl_tty.2: Fix references to TCSETS(2const)
@ 2026-05-01 14:57 Tomasz Kramkowski
  2026-05-03 21:14 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Kramkowski @ 2026-05-01 14:57 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man, Tomasz Kramkowski

Change the duplicate references to refer to all of the different
variants of the TC{GET,SET{S,S2,W}{,W,F}} constants.

This looks to be a bug which was introduced during a restructuring.

Signed-off-by: Tomasz Kramkowski <tomasz@kramkow.ski>
---
 man/man2/ioctl_tty.2 | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/man/man2/ioctl_tty.2 b/man/man2/ioctl_tty.2
index 1d6e279c0..cb2776867 100644
--- a/man/man2/ioctl_tty.2
+++ b/man/man2/ioctl_tty.2
@@ -42,21 +42,21 @@ whenever possible.
 .TQ
 .BR TCSETSF (2const)
 .TP
-.BR TCGETS (2const)
+.BR TCGETS2 (2const)
 .TQ
-.BR TCSETS (2const)
+.BR TCSETS2 (2const)
 .TQ
-.BR TCSETSW (2const)
+.BR TCSETSW2 (2const)
 .TQ
-.BR TCSETSF (2const)
+.BR TCSETSF2 (2const)
 .TP
-.BR TCGETS (2const)
+.BR TCGETA (2const)
 .TQ
-.BR TCSETS (2const)
+.BR TCSETA (2const)
 .TQ
-.BR TCSETSW (2const)
+.BR TCSETAW (2const)
 .TQ
-.BR TCSETSF (2const)
+.BR TCSETAF (2const)
 .SS Locking the termios structure
 .TP
 .BR TIOCGLCKTRMIOS (2const)
-- 
2.51.0


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

* Re: [PATCH] man/man2/ioctl_tty.2: Fix references to TCSETS(2const)
  2026-05-01 14:57 [PATCH] man/man2/ioctl_tty.2: Fix references to TCSETS(2const) Tomasz Kramkowski
@ 2026-05-03 21:14 ` Alejandro Colomar
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2026-05-03 21:14 UTC (permalink / raw)
  To: Tomasz Kramkowski; +Cc: linux-man

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

Hi Tomasz,

On 2026-05-01T15:57:01+0100, Tomasz Kramkowski wrote:
> Change the duplicate references to refer to all of the different
> variants of the TC{GET,SET{S,S2,W}{,W,F}} constants.
> 
> This looks to be a bug which was introduced during a restructuring.

Would you mind adding a Fixes:' tag for that bug?  It would help for
reviewing.

See <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/patches/trailer#n16>
and <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/git#n46>.


Have a lovely night!
Alex

> 
> Signed-off-by: Tomasz Kramkowski <tomasz@kramkow.ski>
> ---
>  man/man2/ioctl_tty.2 | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/man/man2/ioctl_tty.2 b/man/man2/ioctl_tty.2
> index 1d6e279c0..cb2776867 100644
> --- a/man/man2/ioctl_tty.2
> +++ b/man/man2/ioctl_tty.2
> @@ -42,21 +42,21 @@ whenever possible.
>  .TQ
>  .BR TCSETSF (2const)
>  .TP
> -.BR TCGETS (2const)
> +.BR TCGETS2 (2const)
>  .TQ
> -.BR TCSETS (2const)
> +.BR TCSETS2 (2const)
>  .TQ
> -.BR TCSETSW (2const)
> +.BR TCSETSW2 (2const)
>  .TQ
> -.BR TCSETSF (2const)
> +.BR TCSETSF2 (2const)
>  .TP
> -.BR TCGETS (2const)
> +.BR TCGETA (2const)
>  .TQ
> -.BR TCSETS (2const)
> +.BR TCSETA (2const)
>  .TQ
> -.BR TCSETSW (2const)
> +.BR TCSETAW (2const)
>  .TQ
> -.BR TCSETSF (2const)
> +.BR TCSETAF (2const)
>  .SS Locking the termios structure
>  .TP
>  .BR TIOCGLCKTRMIOS (2const)
> -- 
> 2.51.0
> 

-- 
<https://www.alejandro-colomar.es>

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

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

end of thread, other threads:[~2026-05-03 21:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-01 14:57 [PATCH] man/man2/ioctl_tty.2: Fix references to TCSETS(2const) Tomasz Kramkowski
2026-05-03 21:14 ` Alejandro Colomar

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