Need help understanding exception...

2016-02-20 Thread sanjayss via Digitalmars-d-learn
I got the following exception on a line of code that is basically "line = readln()" and need help in understanding what the exception is saying. (I am playing around with stdio prior to this using unix ioctls and maybe I am messing something up in the process resulting in this, but understandin

Re: Need help understanding exception...

2016-02-20 Thread Ali Çehreli via Digitalmars-d-learn
On 02/20/2016 04:45 PM, sanjayss wrote: > I got the following exception on a line of code that is basically "line > = readln()" and need help in understanding what the exception is saying. > (I am playing around with stdio prior to this using unix ioctls and > maybe I am messing something up in th

Re: Need help understanding exception...

2016-02-20 Thread sanjayss via Digitalmars-d-learn
On Sunday, 21 February 2016 at 01:06:16 UTC, Ali Çehreli wrote: On 02/20/2016 04:45 PM, sanjayss wrote: > [...] basically "line > [...] is saying. > [...] ioctls and > [...] this, but > [...] am doing > [...] issue). > [...] std.stdio.readlnImpl(shared(core.stdc.stdio._IO_FILE)*, ref > [...] Jud

Re: Need help understanding exception...

2016-02-20 Thread sanjayss via Digitalmars-d-learn
On Sunday, 21 February 2016 at 06:24:54 UTC, sanjayss wrote: On Sunday, 21 February 2016 at 01:06:16 UTC, Ali Çehreli wrote: [...] Thanks. That helps. I am making the stdin non-blocking (but reverting it back before doing the readln()) -- maybe that is causing some problems. Will follow this