On Tue Mar 24, 2009 at 22:55:27 +0530, mcs082803@cse.iitd.ernet.in wrote:
Thanks for the reply. I don't know why I can't get any input from the keyboard, i.e. getchar, scanf,etc. all hang the system. i am attaching a code that doesn't work
The availability of getchar depends on the lib you link to your program, e.g. when you link -luclibc_support you should get a quite simple version of getchar. For scanf, functions like sscanf work, scanf is different though.
FYI, I am using the loader with bmodfs to load (Don't think that can cause a problem)
No.
Adam