Re: [PATCH] man/man2/ioctl_tty.2: Fix references to TCSETS(2const)

Alejandro Colomar <[email protected]>
Newsgroups org.kernel.vger.linux-man
Message-ID <afe6kmdqSAY6HrR7@devuan>
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 <[email protected]>
> ---
>  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>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmn3ussACgkQ64mZXMKQ
wqlOLA/7BsgZrgnIe1h8478X0leMFcNVKqRc+DhZr4tzjRkrsoaojxYmKrivBOHd
o3T4Frtpes8nIuchE7kNR7WWLnnbOPyI/j2WKhjbqd1GuhuTb5Muec2q6ISb9pxe
ec03lw4XYOKDhrctsN7KawyD9FRFi1kogqCthHPIwvja5tWlOYm2pf2GNfVnNspL
azKkmDGdpte4yl5E3niwz6tfKLvsSqKQ/Bh1kEwMAq81LAQTOUzMk148hzZSbf7N
NuRLsYVyvehR0MjxEGfs9LpWFNQj4XoVbeYv7hprDspKljvzfPvEswqulfpl6dYJ
YfLLYi+YNQVDPSEgSTtXdA85KQQ8CTNUBTufULi0mia+mNMA7jLaJPGw9fEx1fBv
vZ+ZrRnbUnOTlqk+WE9mVtuZQ5UJ/Ri344IlAxwvCs88BrarcECKoujb4Ry18rem
bHBkzgYGg908+I+2QD5mAGYyNNfvJlmHVHw71BDDBS6a3nS9cWf5j/+AXj6CQZog
PCagpYbb4TrujB73zEtBgf8fahkNePMOOWlCezOVMo3sDmoVtJrBacRBZ675XVxI
nV0rB3O9K5G0d1sy7eGLpCODqufwnMxVCZKCyReRJ7Tv2tNb/2FBID9iV3IlQsQZ
k9w/VwtSmIo8Z17hCql8o/zzI3Srda3vG9DmE2lqiDPOanZRoU4=
=Eaxw
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.