This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 21968] select does not work on stdin
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Mon, 19 Nov 2012 16:04:45 +0000
- Subject: [Bug 21968] select does not work on stdin
- Auto-submitted: auto-generated
- References: <bug-21968-13@http.bugs.ecos.sourceware.org/>
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=21968
--- Comment #8 from Ken <kenkyee@excite.com> 2012-11-19 16:04:43 GMT ---
Forgot to mention that I did get it to be nonblocking by using this call:
ioctl(STDIN_FILENO, FIONBIO, &opt);
but the diag port appears to eat characters. I need to press a key 17-18 times
before it will register and my application can see it, so it's not useful even
if it is non-blocking :-P
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.