I want to have the user be able to input something for 5 seconds; after that, I want it to see if there was and answer and if not count it wrong(obviously if he/she did check it), but I dont' know how to get the program to ask for and input for only 5 seconds. I was first about to use sleep, but soon realized where it failed. Do I need to fork my program. If so how would I go about doing that I have never done it. And if you are wondering, I of course, run gentoo Linux.