Jef Driesen
b9a43e3157
Do not flush the input and output buffers when configuring the device.
2007-11-29 09:08:25 +00:00
Jef Driesen
40835b8d80
Added a function to configure the size of the input and output buffers.
2007-11-27 15:09:38 +00:00
Jef Driesen
c5fc289cb2
Added missing break statements in the serial_flush() functions.
2007-10-29 10:54:40 +00:00
Jef Driesen
425efd1c0d
Added a shorter implementation for the serial_set_status function.
2007-10-29 09:56:30 +00:00
Jef Driesen
0154674573
Attempt to read/write before waiting, instead of the other way around.
2007-10-29 09:52:28 +00:00
Jef Driesen
a3ae610b2e
Replace termios VMIN=0 and VTIME=0 with O_NONBLOCK.
...
Enable O_NONBLOCK to be able to detect the difference between a timeout
and a modem disconnect (EOF). With this change, it's also possible to
implement write timeouts.
2007-10-29 09:37:26 +00:00
Jef Driesen
3f33f82bc2
Initial import.
2007-10-29 09:22:19 +00:00