Changeset 673 for branches/smartreader
- Timestamp:
- 12/04/09 01:58:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/smartreader/csctapi/io_serial.c
r671 r673 214 214 // on mac os x, make sure you use the /dev/cu.XXXX device, /dev/tty.XXXX will only work with O_NDELAY 215 215 io->fd = open (filename, O_RDWR | O_NOCTTY); 216 // io->fd = open (filename, O_RDWR | O_NOCTTY | O_NDELAY );217 216 #else 218 217 if (com==RTYP_SMART) 219 io->fd = open (filename, O_RDWR | O_NOCTTY );218 io->fd = open (filename, O_RDWR | O_NOCTTY | O_NONBLOCK); 220 219 else 221 220 io->fd = open (filename, O_RDWR | O_NOCTTY | O_SYNC);
Note:
See TracChangeset
for help on using the changeset viewer.