Submit your solution as a plain-text file with a .c extension in the name.
Name
timer - counts down to zero from a user supplied number.
Description
Displays a count down to zero from a number supplied by the user at the command line. Supports pausing and unpausing the countdown.
Countdown is done by ones, one second at a time.
While the program is runnng, typing p will pause the countdown and typing u will unpause it. echoing of characters is disabled while the program is running.
Sample Usage
timer 60 begins the countdown
Hints
man 3 sleep
uses struct termios
uses VSTART and VSTOP