Re: [PATCH] tools: termios_linux.h: Fix tcsendbreak() implementation

2021-10-21 Thread Stefan Roese
On 21.10.21 07:36, Stefan Roese wrote: On 06.10.21 14:30, Pali Rohár wrote: There are two Linux ioctls which implements tcsendbreak() functionality: TCSBRK and TCSBRKP TCSBRK with non-zero parameter implements tcdrain() and with zero parameter implements tcsendbreak() for duration of 0.25s.

Re: [PATCH] tools: termios_linux.h: Fix tcsendbreak() implementation

2021-10-20 Thread Stefan Roese
On 06.10.21 14:30, Pali Rohár wrote: There are two Linux ioctls which implements tcsendbreak() functionality: TCSBRK and TCSBRKP TCSBRK with non-zero parameter implements tcdrain() and with zero parameter implements tcsendbreak() for duration of 0.25s. TCSBRKP with zero parameter is same as TCS