Forum Discussion
Altera_Forum
Honored Contributor
13 years agoBug in altera_avalon_uart_read
NOTE: This is not a question, but an information ************************************ The call to read for a /dev/uart returns a wrong value when non-blocking and no data available. This...
Altera_Forum
Honored Contributor
13 years agoThank you. I am suing 9.1 SP2. I have following lines in the .c file
if (!block) { /* Set errno to indicate the reason we're not returning any data */ ALT_ERRNO = EWOULDBLOCK; break; } else ... ... Is this right?