Jason Freeman wrote:
> Per Jessen wrote:
>>
>> When a file descriptor (stdin) is non-blocking, any read() will not
>> block and wait for data to become available, but will return right
>> away with or without data. Set the fd to blocking to wait for data.
>>
>
> This is true which is why I put f
Per Jessen wrote:
Jason Freeman wrote:
Hi All
I am having a problem getting stream_set_blocking to work the way I
expect on STDIN. Please could someone tell me why while blocking is
set to false fread does not get anything.
When a file descriptor (stdin) is non-blocking, any read(
Jason Freeman wrote:
> Hi All
>
> I am having a problem getting stream_set_blocking to work the way I
> expect on STDIN. Please could someone tell me why while blocking is
> set to false fread does not get anything.
When a file descriptor (stdin) is non-blocking, any read() will not
block and w
3 matches
Mail list logo