Commit f679e433 authored by Mart Lubbers's avatar Mart Lubbers

make select unblocking

parent 6b9486bd
......@@ -101,7 +101,7 @@ void ttyopen(CleanString fn, int baudrate, int bytesize, int parity,
debug("ttyopen");
struct termios tio;
char *cs_fn = cleanStringToCString(fn);
*fd = open(cs_fn, O_RDWR | O_NOCTTY | O_NDELAY | O_NONBLOCK);
*fd = open(cs_fn, O_RDWR | O_NOCTTY | O_NONBLOCK);
*status = 0;
fcntl(*fd, F_SETFL, 0);
if(*fd < 0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment