A simple alarm in C