ISO Example for reading/writing uart/rs-232

Chris Galas ChrisG at
Wed Dec 16 00:08:39 CET 2015

I'm still a little confused.

1. When the registered callback fires with the EV_WRITE flag set on the third argument, does that mean the port associated with the file descriptor is ready to be written to (like the CTS, clear-to-send bit being read)?

2. And when the callback fires with a EV_READ flag set - it would be synonymous with a call back registered from a sigaction structure with the O_ASYNC flag set on the file descriptor?

Or am I over thinking this?

More information about the libev mailing list