Read from stdin without blocking

Benjamin Thaut via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 13 05:07:21 PST 2015


I want to read all input from stdin without blocking. That means 
I simply want to read the remaining input from stdin. All ways I 
tried so far always end up in me waiting for the user to enter 
additional input, which is not what I want.

I tried around a lot with D's files / streams but couldn't find 
any way to do that.

Any help is appreciated.

Kind Regards
Benjamin Thaut


More information about the Digitalmars-d-learn mailing list