lkml.org 
[lkml]   [2007]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SELECT() returns 1 But FIONREAD says (Input/output error)
David Schwartz wrote:
>> The misunderstanding is from the docs.
>> The select() does not report device errors.
>> Select will just "more precisely, to see if a read will not block".
>
> This is a much slighter misunderstanding. The result of the 'select'
> function tells you nothing about what a particular 'read' will or will not
> do.
The docs 'precisely' says that it does. I'm sorry if you cannot trouble
yourself to read the man pages to address your issues with the correct
functionality of the select call.

Maybe you can address your issues and concerns with the documentation
folks.

thanks again.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-01 22:07    [W:0.045 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site