]> sigrok.org Git - libsigrok.git/commit
serial: Use OS-independent flags for serial port opening.
authorUwe Hermann <redacted>
Sun, 2 Dec 2012 11:45:54 +0000 (12:45 +0100)
committerUwe Hermann <redacted>
Sun, 2 Dec 2012 11:45:54 +0000 (12:45 +0100)
commita54dd31e380ca4b469a20e41a0023d1dd9ec3c99
treeb90bf02910917f062977b7191057ebe427256916
parent0f84cda05d808f2e1c93ee14c4223be85fb9ef84
serial: Use OS-independent flags for serial port opening.

Add SERIAL_RDWR, SERIAL_RDONLY, and SERIAL_NONBLOCK (for now), which are
mapped to the respective OS-specific mechanism in serial_open().
hardware/agilent-dmm/api.c
hardware/colead-slm/api.c
hardware/common/serial.c
hardware/fluke-dmm/api.c
hardware/link-mso19/link-mso19.c
hardware/openbench-logic-sniffer/ols.c
hardware/radioshack-dmm/api.c
hardware/tekpower-dmm/api.c
hardware/tondaj-sl-814/api.c
libsigrok-internal.h