SetReadParams sets the minimum number of bytes to read and a read timeout in seconds. These parameters roughly correspond to the UNIX termios concepts of VMIN and VTIME.
(minread int, timeout float64)
| 51 | // timeout in seconds. These parameters roughly correspond to the |
| 52 | // UNIX termios concepts of VMIN and VTIME. |
| 53 | SetReadParams(minread int, timeout float64) error |
| 54 | |
| 55 | // SetBreak turns on the generation of a break condition if on == true, |
| 56 | // otherwise it clear the break condition. |
no outgoing calls