On Fri, Aug 3, 2012 at 2:04 PM, Terence Yeong <terenceye...@gmail.com> wrote:
>     // START OF MY EDIT IN PSEUDOCODE
>     fputs("Press enter to start test tool\n", stdout);
>     if (user input received)
>     {
>            execve("./system/bin/test_tool", NULL, NULL);
>     }
>     // END OF MY EDIT

Where is your gets()? Also when you do a fputs(), you need to call
fflush(). But in general, your gets() should help you with that.


-- 

BR; Naresh

visit me at:
http://www.naresh.se/

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to