stty: give explicit error for unsupported asymmetric speeds
commit39f71795d2af3f854f8e2af68541beef53d42b30
authorPádraig Brady <P@draigBrady.com>
Sun, 11 Sep 2022 17:37:24 +0000 (11 18:37 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 11 Sep 2022 17:44:10 +0000 (11 18:44 +0100)
tree2045cb2f56dc2a03f83515c1cb3fbb8e6926afcd
parent760998a7898bbf21208e127a5250108035dc0dd7
stty: give explicit error for unsupported asymmetric speeds

* src/stty.c (check_speed): If difference input and output speeds
are specified, then validate the system supports that, before
interacting with the device.
src/stty.c