4 Commits

Author SHA1 Message Date
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