[PATCH v2 1/5] termios: manual: fix typo: tcsettattr -> tcsetattr

Collin Funk collin.funk1@gmail.com
Sun Jun 29 17:50:33 GMT 2025


"H. Peter Anvin" <hpa@zytor.com> writes:

> Fix a typo in the manual: tcsetattr misspelled as tcsettattr.
>
> Signed-off-by: "H. Peter Anvin" (Intel) <hpa@zytor.com>
> ---
>  manual/terminal.texi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/manual/terminal.texi b/manual/terminal.texi
> index de9554d83757..8a9259f69989 100644
> --- a/manual/terminal.texi
> +++ b/manual/terminal.texi
> @@ -775,7 +775,7 @@ The @code{c_cflag} member and the line speed values returned by
>  @code{cfsetibaud} will be unaffected by the call.  @code{CIGNORE} is
>  useful if you want to set all the software modes in the other members,
>  but leave the hardware details in @code{c_cflag} unchanged.  (This is
> -how the @code{TCSASOFT} flag to @code{tcsettattr} works.)
> +how the @code{TCSASOFT} flag to @code{tcsetattr} works.)
>  
>  This bit is never set in the structure filled in by @code{tcgetattr}.
>  @end deftypevr

Good catch.

Reviewed-by: Collin Funk <collin.funk1@gmail.com>

Collin


More information about the Libc-alpha mailing list