unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
  • [parent not found: <20210730002104.ug6gfh3xh4anh3e5@pali>]
  • * [PATCH v2] ioctl_tty.2: Document ioctls: TCGETS2, TCSETS2, TCSETSW2, TCSETSF2
           [not found] <20210725225506.7404-1-pali@kernel.org>
           [not found] ` <271f5402-95f5-4e65-84ee-a227879e1c33@gmail.com>
    @ 2021-07-30 10:48 ` Pali Rohár via Libc-alpha
      2021-07-30 18:20   ` Alejandro Colomar (man-pages) via Libc-alpha
      1 sibling, 1 reply; 5+ messages in thread
    From: Pali Rohár via Libc-alpha @ 2021-07-30 10:48 UTC (permalink / raw)
      To: linux-man, Alejandro Colomar, Michael Kerrisk
      Cc: Marek Behún, libc-alpha
    
    Signed-off-by: Pali Rohár <pali@kernel.org>
    
    ---
    Changes in v2:
    * Remove information about asm/termbits.h (will be in followup patch)
    * Style fixes
    ---
     man2/ioctl_tty.2 | 29 +++++++++++++++++++++++++++++
     1 file changed, 29 insertions(+)
    
    diff --git a/man2/ioctl_tty.2 b/man2/ioctl_tty.2
    index 2a0effdae8ab..c1875530f0b1 100644
    --- a/man2/ioctl_tty.2
    +++ b/man2/ioctl_tty.2
    @@ -77,6 +77,35 @@ The following four ioctls are just like
     .BR TCSETSW ,
     .BR TCSETSF ,
     except that they take a
    +.I "struct termios2\ *"
    +instead of a
    +.IR "struct termios\ *" .
    +If struct member
    +.B c_cflag
    +contains
    +.B BOTHER
    +then baudrate is stored in struct members
    +.B c_ispeed
    +and
    +.B c_ospeed
    +as integer values.
    +These ioctls are not supported on all architectures.
    +.RS
    +.TS
    +lb l.
    +TCGETS2	\fBstruct termios2 *\fPargp
    +TCSETS2	\fBconst struct termios2 *\fPargp
    +TCSETSW2	\fBconst struct termios2 *\fPargp
    +TCSETSF2	\fBconst struct termios2 *\fPargp
    +.TE
    +.RE
    +.PP
    +The following four ioctls are just like
    +.BR TCGETS ,
    +.BR TCSETS ,
    +.BR TCSETSW ,
    +.BR TCSETSF ,
    +except that they take a
     .I "struct termio\ *"
     instead of a
     .IR "struct termios\ *" .
    -- 
    2.20.1
    
    
    ^ permalink raw reply related	[flat|nested] 5+ messages in thread

  • end of thread, other threads:[~2021-07-30 18:20 UTC | newest]
    
    Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <20210725225506.7404-1-pali@kernel.org>
         [not found] ` <271f5402-95f5-4e65-84ee-a227879e1c33@gmail.com>
         [not found]   ` <20210729173118.pud4xucnt4kncvol@pali>
         [not found]     ` <7d48a1dd-9641-53e9-bb65-868c86f22821@gmail.com>
         [not found]       ` <20210730000915.d6ieqiuqah4tjjxf@pali>
    2021-07-30  7:04         ` [PATCH] ioctl_tty.2: Document ioctls: TCGETS2, TCSETS2, TCSETSW2, TCSETSF2 Alejandro Colomar (man-pages) via Libc-alpha
    2021-07-30 10:56           ` Pali Rohár via Libc-alpha
         [not found]       ` <20210730002104.ug6gfh3xh4anh3e5@pali>
    2021-07-30  7:59         ` Alejandro Colomar (man-pages) via Libc-alpha
    2021-07-30 10:48 ` [PATCH v2] " Pali Rohár via Libc-alpha
    2021-07-30 18:20   ` Alejandro Colomar (man-pages) via Libc-alpha
    

    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 read-only IMAP folder(s) and NNTP newsgroup(s).