[okl4-developer] Reading single chars from stdin

Daniel Rossier daniel.rossier at heig-vd.ch
Wed Oct 21 04:45:51 EST 2009


Hello,

I plan to use okl4 as the underlying microkernel in the context of my
lecture to master undergraduate students.

We have built up a working framework based upon Eclipse and everything works
well (we are using QEMU with VersatilePB, and plan to deploy on i.MX21
csb536fs).

Now, I'm trying to make simple application with perform a standard
gets(buffer) (on stdin). However,
OKL4 is booting and performs 20 fgetc() behind the gets, and exits without
waiting for a EOF or \n as depicted
in the POSIX specification.

The printf() works well.

For sure, I missed something in my configuration or build process...
Please any help welcome.

Thanks
Daniel

-- 
View this message in context: http://n2.nabble.com/Reading-single-chars-from-stdin-tp3860170p3860170.html
Sent from the OKL4 Community Forum mailing list archive at Nabble.com.



More information about the Developer mailing list