summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2021-07-12 09:24:12 -0400
committerKen Brown <kbrown@cornell.edu>2021-07-13 09:02:45 -0400
commita41f585bf111b239601ca7d915994fed600852af (patch)
tree8e5791db4cbd0877e1cb18ce468114cfe6e7fb42 /src/process.c
parentd672d576ff6c3ac3c7ee1fa4db13c7e0a4974aa3 (diff)
downloademacs-a41f585bf111b239601ca7d915994fed600852af.tar.gz
Fix portability issue with make-serial-process
* src/sysdep.c (struct speed_struct): New struct. (speeds): New static array of struct speed_struct. (convert_speed): New static function to convert a numerical baud rate (e.g., 9600) to a Bnnn constant defined in termios.h (e.g., B9600). (serial_configure): Use convert_speed to make the call to cfsetspeed compliant with its advertised API. (Bug#49524)
Diffstat (limited to 'src/process.c')
0 files changed, 0 insertions, 0 deletions